Intel® C++ Compiler XE 13.1 User and Reference Guides

Overview: Intel Math Library

The Intel® C++ Compiler includes a mathematical software library containing highly optimized and very accurate mathematical functions. These functions are commonly used in scientific or graphic applications, as well as other programs that rely heavily on floating-point computations. To include support for C99 _Complex data types, use the -std=c99 compiler option.

The mathimf.h header file includes prototypes for the library functions. For a complete list of the functions available, refer to the Function List.

Note

Intel's math.h header file is compatible with libm from GCC, but it does not cause the GCC libm to be linked. The source can be built with either gcc or icc. When built with icc, the Intel math library libimf will be linked. mathimf.h contains additional functions that are found only in the Intel math library libimf. The source can only be built using the Intel compiler and libraries.

Many routines in the Intel math library are more highly optimized for Intel® microprocessors than for non-Intel microprocessors.

Math Libraries

The math library linked to an application depends on the compilation or linkage options specified.

Library

Description

libimf.a

Default static math library.

libimf.so

Default shared math library.

See Also


Submit feedback on this help topic