atan2

Returns the angle (in radians) from the x axis to a point.

Syntax

atan2(y, x)

Parameters

Return value

The angle in radians as a BigFloat.

Example

atan2(1, 2)
0.4636476090008061162142562314612144