expf


Obtain an exponent function

[Classification]

Mathematical library

[Syntax]

#include <math.h>

float __far expf(float x);

[Return value]

Returns the xth power of e.

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

If an overflow occurs, expf 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).