Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

pc, Qpc

$
0
0

Enables control of floating-point significand precision.

Syntax

Linux OS and OS X:

-pcn

Windows OS:

/Qpcn

Arguments

n

Is the floating-point significand precision. Possible values are:

32

Rounds the significand to 24 bits (single precision).

64

Rounds the significand to 53 bits (double precision).

80

Rounds the significand to 64 bits (extended precision).

Default

-pc80
or/Qpc64

On Linux* and OS X* systems, the floating-point significand is rounded to 64 bits. On Windows* systems, the floating-point significand is rounded to 53 bits.

Description

This option enables control of floating-point significand precision.

Some floating-point algorithms are sensitive to the accuracy of the significand, or fractional part of the floating-point value. For example, iterative operations like division and finding the square root can run faster if you lower the precision with the this option.

Note that a change of the default precision control or rounding mode, for example, by using the [Q]pc32 option or by user intervention, may affect the results returned by some of the mathematical functions.

IDE Equivalent

None

Alternate Options

None

Inglés

Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>