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 precison. |
|
float logf(float) |
Returns the natural logarithm ln(x), x>0, with single precison. |
|
double log10(double) |
Returns the base 10 logarithm log10(x), x>0, with double precison. |
|
float log10f(float) |
Returns the base 10 logarithm log10(x), x>0, with single precison. |
|
double exp(double) |
Returns the exponential function with double precison. |
|
float expf(float) |
Returns the exponential function with single precison. |
|
double pow(double, double) |
Returns the value of x to the power y with double precison. |
|
float powf(float, float) |
Returns the value of x to the power y with single precison. |
|
double sin(double) |
Returns the sine of x with double precison. |
|
float sinf(float) |
Returns the sine of x with single precison. |
|
double cos(double) |
Returns the cosine of x with double precison. |
|
float cosf(float) |
Returns the cosine of x with single precison. |
|
double tan(double) |
Returns the tangent of x with double precison. |
|
float tanf(float) |
Returns the tangent of x with single precison. |
|
double acos(double) |
Returns the inverse cosine of x with double precison |
|
float acosf(float) |
Returns the inverse cosine of x with single precison |
|
double acosh(double) |
Compute the inverse hyperbolic cosine of the argument with double precison. |
|
float acoshf(float) |
Compute the inverse hyperbolic cosine of the argument with single precison. |
|
double asin(double) |
Compute inverse sine of the argument with double precison. |
|
float asinf(float) |
Compute inverse sine of the argument with single precison. |
|
double asinh(double) |
Compute inverse hyperbolic sine of the argument with double precison. |
|
float asinhf(float) |
Compute inverse hyperbolic sine of the argument with single precison. |
|
double atan(double) |
Compute inverse tangent of the argument with double precison. |
|
float atanf(float) |
Compute inverse tangent of the argument with single precison. |
|
double atanh(double) |
Compute inverse hyperbolic tangent of the argument with double precison. |
|
float atanhf(float) |
Compute inverse hyperbolic tangent of the argument with single precison. |
|
double cabs(double complex z) |
Computes absolute value of complex number. The intrinsic argument is a complex number made up of two double precison 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 precison 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 precison argument not less than the argument. |
|
float ceilf(float) |
Computes smallest integral value of single precison argument not less than the argument. |
|
double cosh(double) |
Computes the hyperbolic cosine of double precison argument. |
|
float coshf(float) |
Computes the hyperbolic cosine of single precison argument. |
|
float fabsf(float) |
Computes absolute value of single precison argument. |
|
double floor(double) |
Computes the largest integral value of the double precison argument not greater than the argument. |
|
float floorf(float) |
Computes the largest integral value of the single precison argument not greater than the argument. |
|
double fmod(double) |
Computes the floating-point remainder of the division of the first argument by the second argument with double precison. |
|
float fmodf(float) |
Computes the floating-point remainder of the division of the first argument by the second argument with single precison. |
|
double hypot(double, double) |
Computes the length of the hypotenuse of a right angled triangle with double precison. |
|
float hypotf(float, float) |
Computes the length of the hypotenuse of a right angled triangle with single precison. |
|
double rint(double) |
Computes the integral value represented as double using the IEEE rounding mode. |
|
float rintf(float) |
Computes the integral value represented with single precison using the IEEE rounding mode. |
|
double sinh(double) |
Computes the hyperbolic sine of the double precison argument. |
|
float sinhf(float) |
Computes the hyperbolic sine of the single precison argument. |
|
float sqrtf(float) |
Computes the square root of the single precison argument. |
|
double tanh(double) |
Computes the hyperbolic tangent of the double precison argument. |
|
float tanhf(float) |
Computes the hyperbolic tangent of the single precison argument. |
Copyright © 1996-2011, Intel Corporation. All rights reserved.