r must be one of the following values.
Table A–12 The -fround Values
Value |
Meaning |
---|---|
nearest |
Rounds towards the nearest number and breaks ties to even numbers. |
tozero |
Rounds to zero. |
negative |
Rounds to negative infinity. |
positive |
Rounds to positive infinity. |
When the –fround option is not specified, the rounding mode defaults to -fround=nearest.
If you compile one routine with –fround=r, compile all routines of the program with the same –fround=r option; otherwise, you might get unexpected results.
This option is effective only if used when compiling the main program.