(ANSI Standard)
#include <math.h> y = acos( x );
"acos" returns the arccos of its argument (in the range 0 to pi). If the argument is outside the range [-1,1], "acos" returns zero and sets "errno" to EDOM.
expl c lib errno
Copyright © 1996, Thinkage Ltd.