summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/math/sinh.js.map
blob: 8005233a0af6bc6248e2b2a132ee685c384c51e6 (plain) (blame)
1
{"version":3,"sources":["../../../src/php/math/sinh.js"],"names":["module","exports","sinh","arg","Math","exp"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,IAAT,CAAeC,GAAf,EAAoB;AACnC;AACA;AACA;AACA;;AAEA,SAAO,CAACC,KAAKC,GAAL,CAASF,GAAT,IAAgBC,KAAKC,GAAL,CAAS,CAACF,GAAV,CAAjB,IAAmC,CAA1C;AACD,CAPD","file":"sinh.js","sourcesContent":["module.exports = function sinh (arg) {\n  //  discuss at: http://locutus.io/php/sinh/\n  // original by: Onno Marsman (https://twitter.com/onnomarsman)\n  //   example 1: sinh(-0.9834330348825909)\n  //   returns 1: -1.1497971402636502\n\n  return (Math.exp(arg) - Math.exp(-arg)) / 2\n}\n"]}