Exp
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
double exp(double x);
Function
Calculates the exponential function.
Parameters
Value whose exponent is to be calculated
Return Values
Exponent to basee.
double x;x = exp(5);write("Exponent of 5: %f",x); // Result: 148.413159