In order to calculate the exp for long double or float you can use the following prototype.
Exp in math h.
Static double exp double d.
242 7 25 type generic math tgmath h p.
Header tgmath h provides a type generic macro version of this function.
In the c programming language the exp function returns e raised to the power of x.
The exp arg takes a single argument and returns the value in type double.
Returns the base 2 exponential function of x which is 2 raised to the power x.
C11 standard iso iec 9899 2011.
The exp2 function computes the base 2 exponential of x.
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.
Double double public shared function exp d as double as double.
Static member exp.
These overloads effectively cast x to a double before calculations defined for t being any integral type.
The exp function computes the base e exponential of x.
7 12 6 1 the exp functions p.
It is defined in math h header file.
C exp prototype double exp double arg.
373 375 f 10 3 1 the exp functions p.
Mathematics e x exp x in c programming.