Opal-Estate-Pro/node_modules/es5-ext/math/log2/is-implemented.js

8 lines
172 B
JavaScript
Raw Normal View History

2019-09-13 04:44:33 +02:00
"use strict";
module.exports = function () {
var log2 = Math.log2;
if (typeof log2 !== "function") return false;
return log2(3).toFixed(15) === "1.584962500721156";
};