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

8 lines
176 B
JavaScript
Raw Normal View History

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