tan Function

Retrieves the tangent of a real number.


real tan(real arg)

Parameter

Description

arg

The real number to calculate the tangent of.

Values outside the range of –250 to 250 result in the "Argument for trigonometric function out of range" run-time error.

The tangent of arg.

static void tanExample(Args _arg)
{
    real r;
    ;
    r = tan(250);
    print strFmt("Tan of 250 is %1", r);
    pause;
} 

Community Additions

ADD
Show: