Arccos(x). A portable C implementation for machines that support IEEE 754 floating point arithmetic. A wrapper routine is provided for other standards such as SVID, X/OPEN, or POSIX/ANSI.
r = __ieee754_acos(x)