1 var $ = require('../internals/export');
3 var floor = Math.floor;
5 var LOG2E = Math.LOG2E;
8 // https://tc39.github.io/ecma262/#sec-math.clz32
9 $({ target: 'Math', stat: true }, {
10 clz32: function clz32(x) {
11 return (x >>>= 0) ? 31 - floor(log(x + 0.5) * LOG2E) : 32;