diff options
Diffstat (limited to 'node_modules/locutus/php/math/exp.js')
-rw-r--r-- | node_modules/locutus/php/math/exp.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/node_modules/locutus/php/math/exp.js b/node_modules/locutus/php/math/exp.js new file mode 100644 index 0000000..be2e5f3 --- /dev/null +++ b/node_modules/locutus/php/math/exp.js @@ -0,0 +1,11 @@ +"use strict"; + +module.exports = function exp(arg) { + // discuss at: http://locutus.io/php/exp/ + // original by: Onno Marsman (https://twitter.com/onnomarsman) + // example 1: exp(0.3) + // returns 1: 1.3498588075760032 + + return Math.exp(arg); +}; +//# sourceMappingURL=exp.js.map
\ No newline at end of file |