[Cfp-interest 2555] Rounding direction macros

Fred J. Tydeman tydeman at tybor.com
Sat Oct 29 11:00:21 PDT 2022


The fegetround function returns either a rounding direction macro value
or  a negative value.  That implies that none of the rounding direction
macros can be negative.  Yet, I see no requirement that the
rounding direction macros be non-negative.  Am I missing something?


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