COHERENT manpages

This page displays the COHERENT manpage for asin() [Calculate inverse sine].

List of available manpages
Index


asin() -- Mathematics Function (libm)

Calculate inverse sine
#include <math.h>
double asin(arg) double arg;

asin() calculates the inverse sine of arg, which must be in the range [-1.,
1.].  The result will be in the range [-pi/2, pi/2].

If all goes well, asin() returns  the inverse sine.  However, if arg is out
of range, asin() sets errno to EDOM and returns zero.

Example

For an example of this function, see the entry for tan().

See Also

libm,
sin()
ANSI Standard, §7.5.2.2
POSIX Standard, §8.1