This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

Math::Atan

Math::Atan(x): float

Calculates arc tangent of x.

Table 1. Parameters

x

number

Real number x

Return

The angle in radians whose arc tangent is x

println(Math::Atan(1)); // Will print "0.785398"
println(Math::Atan(0.5)); // Will print "0.463648"