Plato on Github
Report Home
node_modules/es5-ext/test/math/atanh/shim.js
Maintainability
68.26
Lines of code
11
Difficulty
6.15
Estimated Errors
0.10
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function (t, a) { a(t({}), NaN, "NaN"); a(t(-2), NaN, "Less than -1"); a(t(2), NaN, "Greater than 1"); a(t(-1), -Infinity, "-1"); a(t(1), Infinity, "1"); a(t(0), 0, "Zero"); a(t(0.5), 0.5493061443340549, "Ohter"); };