1
|
{"version":3,"sources":["../../../src/php/math/atanh.js"],"names":["module","exports","atanh","arg","Math","log"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,KAAT,CAAgBC,GAAhB,EAAqB;AACpC;AACA;AACA;AACA;;AAEA,SAAO,MAAMC,KAAKC,GAAL,CAAS,CAAC,IAAIF,GAAL,KAAa,IAAIA,GAAjB,CAAT,CAAb;AACD,CAPD","file":"atanh.js","sourcesContent":["module.exports = function atanh (arg) {\n // discuss at: http://locutus.io/php/atanh/\n // original by: Onno Marsman (https://twitter.com/onnomarsman)\n // example 1: atanh(0.3)\n // returns 1: 0.3095196042031118\n\n return 0.5 * Math.log((1 + arg) / (1 - arg))\n}\n"]}
|