Plato on Github
Report Home
node_modules/es5-ext/math/log2/is-implemented.js
Maintainability
74.04
Lines of code
7
Difficulty
6.25
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function () { var log2 = Math.log2; if (typeof log2 !== 'function') return false; return log2(3).toFixed(15) === '1.584962500721156'; };