Qprec

Improves floating-point consistency.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: None
Windows:  /Qprec

Arguments

None

Default

OFF The compiler's default model for floating-point consistency is implemented.

Description

This option improves floating-point consistency. It ensures the out-of-range check of operands of transcendental functions and improves the accuracy of floating-point compares.

This option prevents the compiler from performing optimizations that change NaN comparison semantics and causes all values to be truncated to declared precision before they are used in comparisons. It also causes the compiler to use library routines that give better precision results compared to the X87 transcendental instructions.

It has less impact on performance than the /Op option.

Alternate Options

None

See Also

Optimizing Applications: Improving or Restricting FP Arithmetic Precision