Sha256: df0f837010bd46d40110ac12ab4a524903f615cafab3c6cf228b982dd3f22e29

Contents?: true

Size: 343 Bytes

Versions: 82

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

82 entries across 38 versions & 8 rubygems

Version Path
optimacms-0.4.2 spec/dummy/node_modules/core-js/modules/_math-expm1.js
optimacms-0.4.2 spec/dummy/node_modules/core-js/library/modules/_math-expm1.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/core-js/modules/_math-expm1.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/core-js/library/modules/_math-expm1.js
lux_assets-0.2.11 ./node_modules/core-js/library/modules/_math-expm1.js
lux_assets-0.2.11 ./node_modules/core-js/modules/_math-expm1.js
lux_assets-0.2.9 ./node_modules/core-js/library/modules/_math-expm1.js
lux_assets-0.2.9 ./node_modules/core-js/modules/_math-expm1.js
lux_assets-0.2.4 ./node_modules/core-js/modules/_math-expm1.js
lux_assets-0.2.4 ./node_modules/core-js/library/modules/_math-expm1.js
lux_assets-0.2.2 ./node_modules/core-js/modules/_math-expm1.js
lux_assets-0.2.2 ./node_modules/core-js/library/modules/_math-expm1.js
lux_assets-0.2.1 ./node_modules/core-js/modules/_math-expm1.js
lux_assets-0.2.1 ./node_modules/core-js/library/modules/_math-expm1.js
locomotivecms-3.4.0 app/javascript/node_modules/core-js/modules/_math-expm1.js
locomotivecms-3.4.0 app/javascript/node_modules/core-js/library/modules/_math-expm1.js
cortex-0.1.3 spec/dummy/node_modules/core-js/modules/_math-expm1.js
cortex-0.1.3 spec/dummy/node_modules/core-js/library/modules/_math-expm1.js
condenser-0.0.4 lib/condenser/processors/node_modules/core-js/modules/_math-expm1.js
condenser-0.0.4 lib/condenser/processors/node_modules/core-js/library/modules/_math-expm1.js