The ATAN function returns the arctangent of a real number, in radians.
x is an INTENT(IN) scalar or array of type REAL.
The result is a REAL representation of the arctangent of x, expressed in radians. The result always falls within the range
Examplereal :: a=0.5 write(*,*) atan(a) ! writes 0.4636476