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