Cleanup Issue FORMAT-ROUNDING

Category
CHANGE
References
FORMAT (p. 390)

Problem Description

For the ~F FORMAT directive, the implementation can either round up or down when the rounding produces printed values equidistant from the scaled value of the argument.

Proposal (SPECIFY)

Specify that the implementation rounds up when the rounding produces printed values equidistant from the scaled value of the argument.

Rationale

This change allows predictible results to occur when rounding occurs.

Current Practice

Adoption Cost

Mininal.

Benefits

This clarification will assist users in writing portable code.

Conversion Cost

Minimal.

Aesthetics

None.

Discussion

Edit History