Synopsis
#include <math.h>
float acosf(float x);
Description
acosf returns the principal value, in radians, of the inverse circular cosine of x. The principal value lies in the interval [0, PI] radians.
Fast math library behavior
If |x| > 1, errno is set to EDOM and acosf returns HUGE_VAL.
IEC 60559 math behavior
If x is NaN, acosf returns x.
If |x| > 1, acosf returns NaN with invalid signal.
Portability
acosf conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).