nag_real_arithmetic_rounds (X02DJC) returns the ROUNDS argument of the model of floating point arithmetic (see
Section 2.1.1 in the x02 Chapter Introduction).
nag_real_arithmetic_rounds (X02DJC) is a constant defined in the C Header file.
nag_real_arithmetic_rounds (X02DJC) indicates the rules obeyed by the model numbers for the computed results of the following basic arithmetic operations: addition, subtraction, multiplication, negation, absolute value, and comparisons.
If ROUNDS is Nag_TRUE, then the computed result must be the nearest model number to the exact result (assuming that overflow or underflow does not occur); if the exact result is midway between two model numbers, then it may be rounded either way.
If ROUNDS is Nag_FALSE, then: if the exact result is a model number, then the computed result must be equal to the exact result, otherwise the computed result may be either of the adjacent model numbers on either side of the exact result.
None.
None.
None.
None.
None.
None.