Developer Guide and Reference

Contents

Exponential Functions

Many routines in the Intel® Math Library are more optimized for Intel® microprocessors than for non-Intel microprocessors.
The
mathimf.h
header file includes prototypes for Intel® Math Library functions.
The Intel® Math Library supports the following exponential functions:

cbrt

Description:
The
cbrt
function returns the cube root of
x
.
Calling interface:
double cbrt(double x);
long double cbrtl(long double x);
float cbrtf(float x);

exp

Description:
The
exp
function returns
e
raised to the
x
power,
e
x
.
errno
: ERANGE, for underflow and overflow conditions
Calling interface:
double exp(double x);
long double expl(long double x);
float expf(float x);

exp10

Description:
The
exp10
function returns 10 raised to the
x
power, 10
x
.
errno
: ERANGE, for underflow and overflow conditions
Calling interface:
double exp10(double x);
long double exp10l(long double x);
float exp10f(float x);

exp2

Description:
The
exp2
function returns 2 raised to the
x
power, 2
x
.
errno
: ERANGE, for underflow and overflow conditions
Calling interface:
double exp2(double x);
long double exp2l(long double x);
float exp2f(float x);

expm1

Description:
The