atan is a function in math.h. It computes arc tangent. It returns the principal value of the arc tangent of x, expressed in radians. In trigonometrics, arc tangent is the inverse operation of tangent.