[Cfp-interest 1676] Re: intmax_t removal

Fred J. Tydeman tydeman at tybor.com
Fri Jun 26 07:48:09 PDT 2020


On Thu, 25 Jun 2020 17:37:30 -0700 Jim Thomas wrote:
>
>For large enough width, HUGE_VAL could be an in range value. How about returning the value of x if a NaN is not available?

How can HUGE_VAL be in range and x not be in range?

Since we have 6 HUGE_VALs, we need some shorthand to cover all six.
See for example nuexup() and nextdown().
Also, overflow in 7.12.1


---
Fred J. Tydeman        Tydeman Consulting
tydeman at tybor.com      Testing, numerics, programming
+1 (702) 608-6093      Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.



More information about the Cfp-interest mailing list