Returns the exponential value of the parameter, if successful.
On overflow, the function returns indefinite by default and on underflow, exp returns 0.
Return value:
Returns the exponential value of the parameter, if successful.
Example
import standard.C.math
class Main {
function Main() {
var x = 15;
var y;
y = exp(x);
echo "exp(" + x + ") = " + y;
}
}
Results
exp(15) = 3269017.3724721107