MQL4 Reference Math Functions MathExp

MathExp

The function returns the value of e raised to the power of d.

double  MathExp(
   double  value      // power for the number e
   );

Parameters

value

[in]  A number specifying the power.

Return Value

A number of double type. In case of overflow the function returns INF (infinity), in case of underflow MathExp returns 0.

Note

Instead of MathExp() you can use exp().

See also

Real types (double, float)