[Cfp-interest 3000] CFP issue #9

Fred J. Tydeman tydeman at tybor.com
Sun Feb 11 11:07:26 PST 2024


On Wed, 7 Feb 2024 19:37:46 +0000 Rajan Bhakta wrote:
>
>      #9 Issue:  1e99999 to scanf is not infinity.
>        Jim:  correctly rounded definition (3.10) might cover.
>        ^Fred:  Look at original CFP messages.

3.10: Note 2 to entry: IEC 60559 or implementation-defined rules apply
for extreme magnitude results if the result format contains infinity.

The above note, not in C17, but in C23, takes care of the issue.


---
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