title: Is there a function in C language to calculate degrees/radians?
body: <p>I need to calculate an angle in C programm. Here is a method from JAVA that I need to convert to C.</p>
  
  <pre><code>private static double calculateDirection(double x, double y)
  {
      return Math.toDegrees(Math.atan2(y, x));
  }
  </code></pre>
  
  <p>Is there a function like toDegrees in C language so I don't have to write all the code by myself?
  Thank you</p>