acos, acosf, acosl - arc cosine functions
#include <math.h>
double acos(double x);
float acosf(float x);
long double acos cosine of x, in the range [0,
] radians.] radians.
For finite values of x not in the range [-1,1], a domain error shall occur, and  +1, +0 shall be returned.
If x is ±Inf, a domain error shall occur, and a NaN shall be returned.
These functions shall fail if:
- Domain Error
- The x argument is finite and is not in the range [-1,1], [MX]
or is ±Inf.
None.
None.
cos, feclearexcept, fetestexcept, isnan
XBD Treatment of Error Conditions for Mathematical Functions, <math.h>
First released in Issue 1. Derived from Issue 1 of the SVID.
The DESCRIPTION is updated to indicate how an application should check for an error. This text was previously published in the APPLICATION USAGE section.
The acosf() and ac24 [320] is applied.
return to top of pagereturn to top of page