[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue: FORMAT-ROUNDING (Version 1)



Kathy distributed this in hardcopy at the last X3J13 meeting.
I'm agnostic on it for now, but wanted to get it into the
archives.  -kmp

-----
Issue:        FORMAT-ROUNDING
References:   FORMAT (p. 390)
Category:     CHANGE
Edit history: 5-OCT-88, Version 1 by Chapman


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 (FORMAT-ROUNDING: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: