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

8 lines
176 B
JavaScript

"use strict";
module.exports = function () {
var expm1 = Math.expm1;
if (typeof expm1 !== "function") return false;
return expm1(1).toFixed(15) === "1.718281828459045";
};