Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of 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.