Manpage of ASIN
ASIN
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
1.4 `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'.
SEE ALSO
asin
is part of the
libm
library.
The full documentation for
libm
is maintained as a Texinfo manual. If
info
and
libm
are properly installed at your site, the command
-
info libm
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:12 GMT, May 16, 2005
www.fiveanddime.net