Opal-Estate-Pro/node_modules/es5-ext/math/log2/is-implemented.js
2019-09-13 09:44:33 +07:00

8 lines
172 B
JavaScript

"use strict";
module.exports = function () {
var log2 = Math.log2;
if (typeof log2 !== "function") return false;
return log2(3).toFixed(15) === "1.584962500721156";
};