Math Libraries

The Intel® compilers supply two libraries that you can use to effect more optimal code than that possible without them. Both libraries are included by adding their location to the path in the LIB environment variable and are used automatically when using one of the vectorization options.

The following table lists these two libraries and describes their benefits.

Library name

Description

support

LIBM

Sometimes faster than the libc.lib and libm.lib of Microsoft and the libm.a of GNU*.

Automatically replaces many functions in Microsoft's libc.lib and libm.lib and GNU's libm.a.

Creates optimal code for every Intel architecture processor.

 

Short Vector Math Library (SVML)

Used when vectorizing loops which have math functions in them. For example, with SVML you can vectorize a loop that uses sin.

IA-32 only