Developer Guide and Reference

Contents

Trigonometric 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 trigonometric functions:

acos

Description:
The
acos
function returns the principal value of the inverse cosine of
x
in the range [0, pi] radians for
x
in the interval [-1,1].
errno
: EDOM, for |x| > 1
Calling interface:
double acos(double x);
long double acosl(long double x);
float acosf(float x);

acosd

Description:
The
acosd
function returns the principal value of the inverse cosine of
x
in the range [0,180] degrees for
x
in the interval [-1,1].
errno
: EDOM, for |x| > 1
Calling interface:
double acosd(double x);
long double acosdl(long double x);
float acosdf(float x);

acospi

Description:
The
acospi
function returns the principal value of the inverse cosine of
x
, divided by pi, in the range [0,1] for
x
in the interval [-1,1].
errno
: EDOM, for |x| > 1
Calling interface:
double acospi(double x);
float acospif(float x);

asin

Description:
The
asin
function returns the principal value of the inverse sine of
x
in the range [-pi/2, +pi/2] radians for
x
in the interval [-1,1].
errno<