summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/math/acosh.js.map
blob: 0e009441a8667b54ee5d1650df96448308053058 (plain) (blame)
1
{"version":3,"sources":["../../../src/php/math/acosh.js"],"names":["module","exports","acosh","arg","Math","log","sqrt"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,KAAT,CAAgBC,GAAhB,EAAqB;AACpC;AACA;AACA;AACA;;AAEA,SAAOC,KAAKC,GAAL,CAASF,MAAMC,KAAKE,IAAL,CAAUH,MAAMA,GAAN,GAAY,CAAtB,CAAf,CAAP;AACD,CAPD","file":"acosh.js","sourcesContent":["module.exports = function acosh (arg) {\n  //  discuss at: http://locutus.io/php/acosh/\n  // original by: Onno Marsman (https://twitter.com/onnomarsman)\n  //   example 1: acosh(8723321.4)\n  //   returns 1: 16.674657798418625\n\n  return Math.log(arg + Math.sqrt(arg * arg - 1))\n}\n"]}