summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/math/tanh.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/locutus/php/math/tanh.js')
-rw-r--r--node_modules/locutus/php/math/tanh.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/node_modules/locutus/php/math/tanh.js b/node_modules/locutus/php/math/tanh.js
deleted file mode 100644
index b447719..0000000
--- a/node_modules/locutus/php/math/tanh.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-
-module.exports = function tanh(arg) {
- // discuss at: http://locutus.io/php/tanh/
- // original by: Onno Marsman (https://twitter.com/onnomarsman)
- // imprived by: Robert Eisele (http://www.xarg.org/)
- // example 1: tanh(5.4251848798444815)
- // returns 1: 0.9999612058841574
-
- return 1 - 2 / (Math.exp(2 * arg) + 1);
-};
-//# sourceMappingURL=tanh.js.map \ No newline at end of file