summaryrefslogtreecommitdiff
path: root/node_modules/core-js/library/modules/_math-expm1.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/core-js/library/modules/_math-expm1.js')
-rw-r--r--node_modules/core-js/library/modules/_math-expm1.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/node_modules/core-js/library/modules/_math-expm1.js b/node_modules/core-js/library/modules/_math-expm1.js
deleted file mode 100644
index 5131aa951..000000000
--- a/node_modules/core-js/library/modules/_math-expm1.js
+++ /dev/null
@@ -1,10 +0,0 @@
-// 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; \ No newline at end of file