summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/math/log.js.map
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/locutus/php/math/log.js.map')
-rw-r--r--node_modules/locutus/php/math/log.js.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/locutus/php/math/log.js.map b/node_modules/locutus/php/math/log.js.map
new file mode 100644
index 0000000..77573e8
--- /dev/null
+++ b/node_modules/locutus/php/math/log.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["../../../src/php/math/log.js"],"names":["module","exports","log","arg","base","Math"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,GAAT,CAAcC,GAAd,EAAmBC,IAAnB,EAAyB;AACxC;AACA;AACA;AACA;AACA;;AAEA,SAAQ,OAAOA,IAAP,KAAgB,WAAjB,GACHC,KAAKH,GAAL,CAASC,GAAT,CADG,GAEHE,KAAKH,GAAL,CAASC,GAAT,IAAgBE,KAAKH,GAAL,CAASE,IAAT,CAFpB;AAGD,CAVD","file":"log.js","sourcesContent":["module.exports = function log (arg, base) {\n // discuss at: http://locutus.io/php/log/\n // original by: Onno Marsman (https://twitter.com/onnomarsman)\n // improved by: Brett Zamir (http://brett-zamir.me)\n // example 1: log(8723321.4, 7)\n // returns 1: 8.212871815082147\n\n return (typeof base === 'undefined')\n ? Math.log(arg)\n : Math.log(arg) / Math.log(base)\n}\n"]} \ No newline at end of file