projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Version 1
[yaffs-website]
/
node_modules
/
core-js
/
modules
/
es6.math.clz32.js
1
// 20.2.2.11 Math.clz32(x)
2
var $export = require('./_export');
3
4
$export($export.S, 'Math', {
5
clz32: function clz32(x){
6
return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;
7
}
8
});