Returns the base e raised to the power of the argument.
Format
#include <math.h>
double exp (double x);
Argument
- x
- A real value.
Description
If an overflow occurs, the exp function returns the largest
possible floating-point value and sets errno to ERANGE. The constant
HUGE_VAL is defined in the <math.h> header file to be the largest
possible floating-point value.
Return Value
x | The base e raised to the power
of the argument. |
HUGE_VAL |
Indicates overflow; errno is set to ERANGE. |
Previous Page | Next Page | Table of Contents | Index