This commit is contained in:
hatuhn
2019-09-13 09:45:04 +07:00
parent f14a34ba19
commit 558fb07261
16790 changed files with 0 additions and 1642370 deletions
-10
View File
@@ -1,10 +0,0 @@
"use strict";
if (!require("./is-implemented")()) {
Object.defineProperty(Math, "clz32", {
value: require("./shim"),
configurable: true,
enumerable: false,
writable: true
});
}
-3
View File
@@ -1,3 +0,0 @@
"use strict";
module.exports = require("./is-implemented")() ? Math.clz32 : require("./shim");
-7
View File
@@ -1,7 +0,0 @@
"use strict";
module.exports = function () {
var clz32 = Math.clz32;
if (typeof clz32 !== "function") return false;
return clz32(1000) === 22;
};
-7
View File
@@ -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;
};