Exp
From M.U.G.E.N Wiki
Trigger: Exp (math)
Computes the exponential of the argument (e raised to the power of the argument.) This produces slightly more accurate results than the equivalent expression e**(argument).
- Format:
- exp(exprn)
- Arguments:
- exprn
- Expression to compute the exponential of (float).
- Return type:
- float
- Error conditions:
- Returns SFalse if exprn evaluates to SFalse.
Example:
value = exp(4-var(0)) Sets value to e raised to the quantity 4-var(0).