summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/math/atanh.js.map
blob: 01c3f29458a6a5ec529ad2118569bb87c3a40612 (plain) (blame)
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"]}