User Tools

Site Tools


xrpl:atan2

This is an old revision of the document!


atan2

ArgumentsResultNotation
float float float [float float- float]

Description

Computes and returns the angle of the point y/x in radians. The return value is between positive pi and negative pi. Note that the first parameter to atan2 is always the y coordinate.

Examples

trace(atan2(1 2)) #prints '0.463647609' 
xrpl/atan2.1551648123.txt.gz ยท Last modified: 2019/03/03 16:22 by Karsten75