MQL4 Reference
Math & Trig
MathExp
| double MathExp( |
double d) |
Returns the value of e raised to the power of d.
At overflow, the function returns INF (infinity), and it returns 0 at underflow.
Parameters:
| d |
- |
A number specifying the power. |
Sample:
double x=2.302585093,y;
y=MathExp(x);
Print("MathExp(",x,") = ",y);
//Output: MathExp(2.3026)=10
|
|
|