summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/math/asin.js
blob: d1f7365b4d6b008e1119d7875a0ff0ee4b0a090e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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