fp-port, Qfp-port

Rounds floating-point results after floating-point operations.

IDE Equivalent

Windows: Floating-Point > Round Floating-Point Results

Linux: None

Mac OS X: Floating-Point > Round Floating-Point Results

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-fp-port

-no-fp-port

Windows:

/Qfp-port

/Qfp-port-

Arguments

None

Default

-no-fp-port
or/Qfp-port-

The default rounding behavior depends on the compiler's code generation decisions and the precision parameters of the operating system.

Description

This option rounds floating-point results after floating-point operations. Rounding to user-specified precision occurs at assignments and type conversions. This has some impact on speed.

The default is to keep results of floating-point operations in higher precision. This provides better performance but less consistent floating-point results.

Alternate Options

None


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.