Built-in functions: math_atan()

The function math_atan() is a complementary function of math_tan().

Declaration

float math_atan( float aValue )

Parameters

aValue

The value representing a tangent.

Discussion

The inverse trigonometric function math_atan() calculates the arctangent of the given value aValue. The function returns an angle value expressed in degree lying in the range -90.0 .. +90.0. For example:

var float angle = math_atan( 1.0 ); // angle = 45.0