Plato on Github
Report Home
node_modules/es5-ext/math/clz32/shim.js
Maintainability
81.12
Lines of code
6
Difficulty
6.00
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function (value) { value = value >>> 0; return value ? 32 - value.toString(2).length : 32; };