Calculates the arc sine of a number.
asin() is the inverse of sin(). It expects input values in the range of -1 to 1. By default, asin() returns values in the range -π ÷ 2 (about -1.57) to π ÷ 2 (about 1.57). If the angleMode() is DEGREES then values are returned in the range -90 to 90.
Examples
Syntax
asin(value)
Parameters
value
Number:
value whose arc sine is to be returned.
Returns
Number: arc sine of the given value.
This page is generated from the comments in src/math/trigonometry.js . Please feel free to edit it and submit a pull request!