Developer Guide and Reference

Contents

Special 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 special functions:

annuity

Description:
The
annuity
function computes the present value factor for an annuity,
(1 - (1+x)
(-y)
) / x
, where
x
is a rate and
y
is a period.
errno
: ERANGE, for underflow and overflow conditions
Calling interface:
double annuity(double x, double y);
long double annuityl(long double x, long double y);
float annuityf(float x, float y);

acdfnorminv

Description:
The
cdfnorminv
function returns the inverse cumulative normal distribution function value.
errno
:
EDOM, for finite or infinite
(x > 1) || (x < 0)
ERANGE, for
x = 0 or x = 1
Calling interface:
double cdfnorminv(double x);
float cdfnorminvf (float x);

compound

Description:
The
compound
function computes the compound interest factor,
(1+x)
y
, where
x
is a rate and
y
is a period.
errno
: ERANGE, for underflow and overflow conditions
Calling interface:
double compound(double x, double y);
long double compoundl(long double x, long double y);
float compoundf(float x, float y);

erf

Description:
The
erf
function returns the error function value.
Calling interface:
double erf(double x);
long double erfl(long double x);
</