libm.info: asin

Go forward to asinh
Go backward to acosh
Go up to Math
Go to the top op libm

`asin', `asinf'--arc sine

*Synopsis*
     #include <math.h>
     double asin(double X);
     float asinf(float X);
   *Description*
`asin' computes the inverse sine (arc sine) of the argument X.
Arguments to `asin' must be in the range -1 to 1.
   `asinf' is identical to `asin', other than taking and returning
floats.
   You can modify error handling for these routines using `matherr'.
*Returns*
`asin' returns values in radians, in the range of -pi/2 to pi/2.
If X is not in the range -1 to 1, `asin' and `asinf' return NaN (not a
number), set the global variable `errno' to `EDOM', and issue a `DOMAIN
error' message.
   You can change this error treatment using `matherr'.