[Cfp-interest 2649] Re: GB-287

Jim Thomas jaswthomas at sbcglobal.net
Sun Jan 29 21:58:05 PST 2023


IEEE 754 requires correctly rounded conversions between all supported formats (arithmetic and non-arithmetic). Adding the hexadecimal support completed the required conversions. See H.4.3 and the example in H.12.2.

- Jim Thomas

> On Jan 29, 2023, at 8:32 PM, Fred J. Tydeman <tydeman at tybor.com> wrote:
> 
> On Sun, 29 Jan 2023 16:22:18 -0800 Jim Thomas wrote:
>> 
>> This note suggests changes requested by WG 14 for response to NB comments GB-286 and GB-287. This note is a draft, for review and discussion at the 2023-01-31 CFP meeting.
>> 
>> https://wiki.edg.com/pub/CFP/WebHome/WG14_issues_with_response_to_NB_comments-20230129.pdf
> 
> 
> After rereading IEEE-754-2019, I find that there is NO requirement for conversions
> between hexadecimal strings and decimal floating-point objects.
> 
> Therefore, I would suggest that we leave 7.24.1.6 strtodN() family alone (hex is not valid).
> And, we change the Annex H.12.2 strtodN() family to also treat hex as invalid.
> 
> 
> ---
> Fred J. Tydeman        Tydeman Consulting
> tydeman at tybor.com      Testing, numerics, programming
> +1 (702) 608-6093      Vice-chair of INCITS/C (ANSI "C")
> Sample C17+FPCE tests: http://www.tybor.com
> Savers sleep well, investors eat well, spenders work forever.




More information about the Cfp-interest mailing list