exp Function

Retrieves the natural antilogarithm (the natural logarithm e raised to the arg power) of the decimal figure specified by arg.


real exp(real arg)

Parameter

Description

arg

The real number to calculate the natural antilogarithm for.

The natural antilogarithm of arg.

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: