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
value whose arc sine is to be returned.
Notice any errors or typos? Please let us know. Please feel free to edit src/math/trigonometry.js and open a pull request!