wishthis/node_modules/es5-ext/math/log2/is-implemented.js

8 lines
172 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
"use strict";
module.exports = function () {
var log2 = Math.log2;
if (typeof log2 !== "function") return false;
return log2(3).toFixed(15) === "1.584962500721156";
};