[cfp-interest 3723] Re: Comments on cfp3691 RoundingMode

Damian McGuckin damianm at esi.com.au
Tue Nov 11 13:36:32 PST 2025


On Tue, 11 Nov 2025, Jim Thomas wrote:

> C2Y 7.6.1 says: "A floating-point control mode is a system variable whose
> value may be set by the user to affect the subsequent behavior of
> floating-point arithmetic.?
> The meaning of ?mode" in IEEE 754 is the same.
> 
> 754-1985 has the definition:
>
>       mode. A variable that a user may set, sense, save, and restore
>       to control the execution of subsequent arithmetic operations. 

What is the difference between

 	current rounding direction mode
and
 	current rounding direction

Irrespective of these definitions, the current language is extremely 
confusing, massively inconsistent, and needs fixing.

My attempt is by definition incorrect.

As far as Annex F is concerned, I have to worry about is

 	current rounding direction mode

which is a variable but I do need to know what the collective noun is for 
the following five concepts of rounding

 	a)	toward zero

 	b)	to nearest with ties to even

 	c)	toward positive infinity

 	d)	toward negative infinity

 	e)	to nearest with ties away from zero

I am happy to call them a "rounding direction" but C2Y with Clause 5.5 
currently precludes that so that needs to be fixed first.

And yes, "with" is needed because the existing use of comma by C2Y in 
those concepts makes it hard to use any of those five in a sentence with 
punctuation.

Thanks - Damian


More information about the cfp-interest mailing list