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