HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/www/french-american.org/current/node_modules/locutus/php/math/tanh.js.map
{"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"]}