double atan(num x)

Converts x to a double and returns its arc tangent in radians.

Returns a value in the range -PI/2..PI/2, or NaN if x is NaN.

Source

external double atan(num x);