Sha256: df0f837010bd46d40110ac12ab4a524903f615cafab3c6cf228b982dd3f22e29

Contents?: true

Size: 343 Bytes

Versions: 66

Compression:

Stored size: 343 Bytes

Contents

// 20.2.2.14 Math.expm1(x)
var $expm1 = Math.expm1;
module.exports = (!$expm1
  // Old FF bug
  || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
  // Tor Browser bug
  || $expm1(-2e-17) != -2e-17
) ? function expm1(x) {
  return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
} : $expm1;

Version data entries

66 entries across 30 versions & 8 rubygems

Version Path
immosquare-cleaner-0.1.42 node_modules/core-js/library/modules/_math-expm1.js
immosquare-cleaner-0.1.42 node_modules/core-js/modules/_math-expm1.js
immosquare-cleaner-0.1.41 node_modules/core-js/modules/_math-expm1.js
immosquare-cleaner-0.1.41 node_modules/core-js/library/modules/_math-expm1.js
immosquare-cleaner-0.1.40 node_modules/core-js/library/modules/_math-expm1.js
immosquare-cleaner-0.1.40 node_modules/core-js/modules/_math-expm1.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/modules/_math-expm1.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/library/modules/_math-expm1.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/modules/_math-expm1.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/modules/_math-expm1.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/library/modules/_math-expm1.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/library/modules/_math-expm1.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/modules/_math-expm1.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/library/modules/_math-expm1.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/library/modules/_math-expm1.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/modules/_math-expm1.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/library/modules/_math-expm1.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/modules/_math-expm1.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/library/modules/_math-expm1.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/modules/_math-expm1.js