{{keywords>wiki library source code example reference}} ===== atan ===== double atan(double); calculates acustangens from a number ===== C Sourcecode Example ===== compile in linux with: gcc atan.c -o atan **-lm** -Wall #include /* including standard library */ //#include /* uncomment this for Windows */ #include /* including math library */ int main ( void ){ double a=0.2; printf("atan from %f is %f\n", a, atan(a) * 90 / 3.17); return 0; } ===== output ===== output: user@host:~$ ./atan atan from 1.200000 is 24.872311