summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/math/tanh.js.map
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/locutus/php/math/tanh.js.map')
-rw-r--r--node_modules/locutus/php/math/tanh.js.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/locutus/php/math/tanh.js.map b/node_modules/locutus/php/math/tanh.js.map
new file mode 100644
index 0000000..2b8a060
--- /dev/null
+++ b/node_modules/locutus/php/math/tanh.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["../../../src/php/math/tanh.js"],"names":["module","exports","tanh","arg","Math","exp"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,IAAT,CAAeC,GAAf,EAAoB;AACnC;AACA;AACA;AACA;AACA;;AAEA,SAAO,IAAI,KAAKC,KAAKC,GAAL,CAAS,IAAIF,GAAb,IAAoB,CAAzB,CAAX;AACD,CARD","file":"tanh.js","sourcesContent":["module.exports = function tanh (arg) {\n // discuss at: http://locutus.io/php/tanh/\n // original by: Onno Marsman (https://twitter.com/onnomarsman)\n // imprived by: Robert Eisele (http://www.xarg.org/)\n // example 1: tanh(5.4251848798444815)\n // returns 1: 0.9999612058841574\n\n return 1 - 2 / (Math.exp(2 * arg) + 1)\n}\n"]} \ No newline at end of file