t2:atan

atan


atan — Arc tangent

Description


fix32 atan(fix32 num);

Returns the arc tangent of num in radians. atan() is the complementary function of tan(), which means that
num == tan(atan(num)).

Parameters


  • num: The number to process.

Return Value


The arc tangent of num in radians.

Examples


Example #1 atan() example

init {
    printf("%.6f", atan(0.5)); // ~0.463647609001
}

See Also

t2/atan.txt · Last modified: 2016/11/13 03:39 by J2Kbr