Provide the arcsine of various numerical values.
System. |
The asin() function yields the arcsine of a given number, expressed in radians.
Tip: For instance, asin(1) equals π/2.
public |
Parameter |
Description |
number |
The input should be a number within the range of -1 to 1 to compute its arcsine. If the value falls outside this range, the function returns NaN (Not a Number). |
Returns |
It returns a double value representing the arcsine of a given number, measured in radians. |
Java Version |
Any |