diff options
Diffstat (limited to 'node_modules/locutus/php/math/asin.js')
-rw-r--r-- | node_modules/locutus/php/math/asin.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/locutus/php/math/asin.js b/node_modules/locutus/php/math/asin.js new file mode 100644 index 0000000..d1f7365 --- /dev/null +++ b/node_modules/locutus/php/math/asin.js @@ -0,0 +1,12 @@ +"use strict"; + +module.exports = function asin(arg) { + // discuss at: http://locutus.io/php/asin/ + // original by: Onno Marsman (https://twitter.com/onnomarsman) + // note 1: Sorry about the crippled test. Needed because precision differs accross platforms. + // example 1: (asin(0.3) + '').substr(0, 17) + // returns 1: "0.304692654015397" + + return Math.asin(arg); +}; +//# sourceMappingURL=asin.js.map
\ No newline at end of file |