double atan(num x)

Converts x to a double and returns the arc tangent of the value.

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

Source

external double atan(num x);