Everything

expl [V1.08 or later]


Obtain an exponent function

[Classification]

Mathematical library

[Syntax]

#include <math.h>

long double __far expl(long double x); (C99)

[Return value]

Returns the xth power of e.

expl returns 0 or an denormal number if an underflow occurs, and sets macro ERANGE to global variable errno.

If an overflow occurs, expl returns ∞ and sets macro ERANGE to global variable errno.

[Description]

This function calculates the xth power of e (e is the base of a natural logarithm and is about 2.71828).