Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

atan - Returns tangent of value in C


  #include <math.h>
  #include <stdio.h>

  int main(void)
  {
   double val = -0.5;
   printf("Arc tangent of %f is %f.\n", val, atan(val));
   return 0;
  }


Output:
Arc tangent of -0.500000 is -0.463648.