.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / modules / es.math.clz32.js
1 var $ = require('../internals/export');
2
3 var floor = Math.floor;
4 var log = Math.log;
5 var LOG2E = Math.LOG2E;
6
7 // `Math.clz32` method
8 // https://tc39.es/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;
12   }
13 });