projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1ec534bd006c3e849b8a63cfcb6d238b3d6bfa56
[yaffs-website]
/
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
});