diff options
Diffstat (limited to 'node_modules/locutus/php/math/log.js')
-rw-r--r-- | node_modules/locutus/php/math/log.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/node_modules/locutus/php/math/log.js b/node_modules/locutus/php/math/log.js deleted file mode 100644 index 6846759..0000000 --- a/node_modules/locutus/php/math/log.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -module.exports = function log(arg, base) { - // discuss at: http://locutus.io/php/log/ - // original by: Onno Marsman (https://twitter.com/onnomarsman) - // improved by: Brett Zamir (http://brett-zamir.me) - // example 1: log(8723321.4, 7) - // returns 1: 8.212871815082147 - - return typeof base === 'undefined' ? Math.log(arg) : Math.log(arg) / Math.log(base); -}; -//# sourceMappingURL=log.js.map
\ No newline at end of file |