Developer Guide and Reference

Contents

Floating-point Intrinsics

The following table lists and describes floating point intrinsics that you can use across all Intel® and compatible architectures. Floating-point intrinsic functions may invoke library functions that are more highly optimized for Intel® microprocessors than for non-Intel microprocessors.
Intrinsic
Description
double fabs(double)
Returns the absolute value of a floating-point value.
double log(double)
Returns the natural logarithm ln(x), x>0, with double precision.
float logf(float)
Returns the natural logarithm ln(x), x>0, with single precision.
double log10(double)
Returns the base 10 logarithm log10(x), x>0, with double precision.
float log10f(float)
Returns the base 10 logarithm log10(x), x>0, with single precision.
double exp(double)
Returns the exponential function with double precision.
float expf(float)
Returns the exponential function with single precision.
double pow(double, double)
Returns the value of
x
to the power
y
with double precision.
float powf(float, float)
Returns the value of
x
to the power
y
with single precision.
double sin(double)
Returns the sine of
x
with double precision.
float sinf(float)
Returns the sine of
x
with single precision.
double cos(double)
Returns the cosine of
x
with double precision.
float cosf(float)
Returns the cosine of
x
with single precision.
double tan(double)
Returns the tangent of
x
with double precision.
float tanf(float)
Returns the tangent of
x
with single precision.
double acos(double)
Returns the inverse cosine of
x
with double precision.
float acosf(float)
Returns the inverse cosine of
x
with single precision.
double acosh(double)
Compute the inverse hyperbolic cosine of the argument with double precision.
float acoshf(float)
Compute the inverse hyperbolic cosine of the argument with single precision.
double asin(double)
Compute inverse sine of the argument with double precision.
float asinf(float)
Compute inverse sine of the argument with single precision.
double asinh(double)
Compute inverse hyperbolic sine of the argument with double precision.
float asinhf(float)
Compute inverse hyperbolic sine of the argument with single precision.
double atan(double)
Compute inverse tangent of the argument with double precision.
float atanf(float)
Compute inverse tangent of the argument with single precision.
double atanh(double)
Compute inverse hyperbolic tangent of the argument with double precision.
float atanhf(float)
Compute inverse hyperbolic tangent of the argument with single precision.
double cabs(double complex z)
Computes absolute value of complex number. The intrinsic argument is a complex number made up of two double precision elements, one real and one imaginary. The input parameter
z
is made up of two values of double type passed together as a single argument.
float cabsf(float complex
z
)
Computes absolute value of complex number. The intrinsic argument is a complex number made up of two single precision elements, one real and one imaginary. The input parameter
z
is made up of two values of float type passed together as a single argument.
double ceil(double)
Computes smallest integral value of double precision argument not less than the argument.
float ceilf(float)
Computes smallest integral value of single precision argument not less than the argument.
double cosh(double)
Computes the hyperbolic cosine of double precision argument.
float coshf(float)
Computes the hyperbolic cosine of single precision argument.
float fabsf(float)
Computes absolute value of single precision argument.