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.