Manpage of ACOS
ACOS
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
1.2 `acos', `acosf'--arc cosine
SYNOPSIS
#include <math.h>
double acos(double X);
float acosf(float X);
DESCRIPTION
`acos' computes the inverse cosine (arc cosine) of the input value.
Arguments to `acos' must be in the range -1 to 1.
`acosf' is identical to `acos', except that it performs its
calculations on `floats'.
RETURNS
`acos' and `acosf' return values in radians, in the range of 0 to pi.
If X is not between -1 and 1, the returned value is NaN (not a number)
the global variable `errno' is set to `EDOM', and a `DOMAIN error'
message is sent as standard error output.
You can modify error handling for these functions using `matherr'.
SEE ALSO
acos
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