double acos(double);
calculates arccosine
Linux: compile with gcc acos.c -o acos **-lm** -Wall
===== C Sourcecode Example =====
#include /* including standard library */
//#include /* uncomment this for Windows */
#include /* including math library */
int main ( void ){
double a=0.2;
printf("acos from %f is %f\n", a, acos(a) * 90 / 3.17);
return 0;
}
===== output =====
user@host:~$ ./acos
acos from 0.200000 is 38.879955