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