uapte
This commit is contained in:
-10
@@ -1,10 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
if (!require("./is-implemented")()) {
|
||||
Object.defineProperty(Math, "clz32", {
|
||||
value: require("./shim"),
|
||||
configurable: true,
|
||||
enumerable: false,
|
||||
writable: true
|
||||
});
|
||||
}
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = require("./is-implemented")() ? Math.clz32 : require("./shim");
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function () {
|
||||
var clz32 = Math.clz32;
|
||||
if (typeof clz32 !== "function") return false;
|
||||
return clz32(1000) === 22;
|
||||
};
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function (value) {
|
||||
// eslint-disable-next-line no-bitwise
|
||||
value >>>= 0;
|
||||
return value ? 32 - value.toString(2).length : 32;
|
||||
};
|
||||
Reference in New Issue
Block a user