Function asin

Top 

Declaration:

float asin(float x);

Description

The asin function calculates the arc sine of the floating-point number x. The argument x should range from -1 to 1, otherwise the result will be equal to PI/2 (for x > 1) or to -PI/2 (for x < -1). The function returns value in the range from -PI/2 to PI/2.

Returned value

The asin function returns the arc sine of argument x.