prec-sqrt, Qprec-sqrt

Improves precision of square root implementations.

IDE Equivalent

None

Architectures

IA-32, Intel® EM64T

Syntax

Linux: -prec-sqrt
-no-prec-sqrt
Windows:  /Qprec-sqrt
/Qprec-sqrt-

Arguments

None

Default

OFF The compiler uses a faster but less precise implementation of square root.

Note that the default is ON if any of the following options are specified: /Od, /Op, or /Qprec on Windows systems; -O0, -mp (or /fltconsistency), or -mp1 on Linux systems.

Description

This option improves precision of square root implementations. It has a slight impact on speed.

This option inhibits any optimizations that can adversely affect the precision of square root computation. The result is fully precise square root implementations, with some loss of performance.

Alternate Options

None