[Cfp-interest 3122] Re: Action item about C2y Issue 19 - misuse of "decimal floating-point number", etc.

Jim Thomas jaswthomas at sbcglobal.net
Wed Jun 12 21:31:27 PDT 2024



> On Jun 12, 2024, at 6:53 PM, Damian McGuckin <damianm at esi.com.au> wrote:
> 
> On Wed, 12 Jun 2024, Jim Thomas wrote:
> 
>> The draft linked below addresses the action item:
>> 
>>          Jim: C26 Issue 19: Add to the changes for 7.24.1.6 the terms
>>      "decimal form" and "hexadecimal form" to paragraph 3's bullets 1
>>      and 2 respectively to make it clear what the changes in
>>      paragraph 4 refer to. Also do the changes for issue 19 problems
>>      1 and 2.
> 
> Remember that as per the second part of 6.4.4.3p3
> 
> 	Either the whole-number part or the fraction part has to be
> 	present; for decimal floating constants, either the period or the
> 	exponent part has to be present.
> 
> The way one can read the replacement for 7.24.1.6p3, one may get the impression that both the decimal point and the exponent can be optional in the hexadecimal form which is incorrect. That said, 6.4.4.3 is quoted in this replacement text so the fact that both cannot be optional is covered. But it is not obvious in 7.24.1.6p3 that at least one must exist.

6.4.4.3 specifies floating constants. The accepted form of input for these function is more lenient because there’s no need to distinguish it from integer constants.

> 
> The language in my previous paragraph could be more precise.
> 
> Thanks - Damian




More information about the Cfp-interest mailing list