GoScrobble/web/node_modules/es5-ext/math/expm1/is-implemented.js

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";
};