# Atan2 Procedure

Returns the arc tangent of

y/x, in radians.

Warning: The input numbers are internally converted to a less precise

64-bit binary floating-point format.
The result is computed in this format and then converted back to TMBASIC's

128-bit decimal floating-point format.
These conversions may cause a loss of precision.

Declaration

function Atan2(

y as Number, x as Number

) as Number

### Parameters

### Return value

Number — The arc tangent of

y/x.

### Example

Code

Output

1.325817663668032553303532949939836