aboutsummaryrefslogtreecommitdiff
path: root/node_modules/es5-ext/math/cosh/shim.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/es5-ext/math/cosh/shim.js')
-rw-r--r--node_modules/es5-ext/math/cosh/shim.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/node_modules/es5-ext/math/cosh/shim.js b/node_modules/es5-ext/math/cosh/shim.js
deleted file mode 100644
index c762c84da..000000000
--- a/node_modules/es5-ext/math/cosh/shim.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-
-var exp = Math.exp;
-
-module.exports = function (value) {
- if (isNaN(value)) return NaN;
- value = Number(value);
- if (value === 0) return 1;
- if (!isFinite(value)) return Infinity;
- return (exp(value) + exp(-value)) / 2;
-};