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

8 lines
176 B
JavaScript
Raw Normal View History

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