exp Function

Retrieves the natural antilogarithm of the specified real number.


real exp(real arg)

Parameter

Description

arg

The real number for which to calculate the natural antilogarithm.

The natural antilogarithm of the specified real number.

The calculated natural antilogarithm is the natural logarithm e raised to the power indicated by the arg parameter.

static void expExample(Args _arg)
{
    real r1;
    real r2;
    ;
 
    r1 = exp(2.302585093);
    r2 = exp10(2.302585093);
    print strFmt("exp of 2.302585093 is %1", r1);
    print strFmt("exp10 of 230258 is %1", r2);
    pause;
}

Community Additions

ADD
Show: