fast-transcendentals, Qfast-transcendentals

Enables the compiler to replace calls to transcendental functions with faster but less precise implementations.

IDE Equivalent

None

Architectures

IA-32, IntelĀ® 64, IA-64 architectures

Syntax

Linux and Mac OS X:

-fast-transcendentals

-no-fast-transcendentals

Windows:

/Qfast-transcendentals

/Qfast-transcendentals-

Default

-fast-transcendentals or /Qfast-transcendentals

The default depends on the setting of -fp-model (Linux and Mac OS X) or /fp (Windows).
The default is ON if default setting -fp-model fast or /fp:fast is in effect. However, if a value-safe option such as -fp-model precise or /fp:precise is specified, the default is OFF.

Description

This option enables the compiler to replace calls to transcendental functions with implementations that may be faster but less precise.

It tells the compiler to perform certain optimizations on transcendental functions, such as replacing individual calls to sine in a loop with a single call to a less precise vectorized sine library routine.

This option has an effect only when specified with one of the following options:

You cannot use this option with option -fp-model strict (Linux and Mac OS X) or /fp:strict (Windows).

Alternate Options

None

See Also