C exp prototype double exp double arg.
Exp in math h.
Static double exp double d.
C11 standard iso iec 9899 2011.
7 12 6 1 the exp functions p.
The exp arg takes a single argument and returns the value in type double.
The exp2 function computes the base 2 exponential of x.
Public static double exp double d.
The exp function computes the base e exponential of x.
Static member exp.
Double double public shared function exp d as double as double.
These overloads effectively cast x to a double before calculations defined for t being any integral type.
It is defined in math h header file.
In the c programming language the exp function returns e raised to the power of x.
Mathematics e x exp x in c programming.
The exponential value of 0 000000 is 1 000000 the exponential value of 1 000000 is 2 718282 the exponential value of 2 000000 is 7 389056 math h htm previous page print page.
Header tgmath h provides a type generic macro version of this function.
Additional overloads are provided in this header cmath for the integral types.
In order to calculate the exp for long double or float you can use the following prototype.
242 7 25 type generic math tgmath h p.