[cfp-interest 3578] llquantexp(infinity)

Fred J. Tydeman tydeman at tybor.com
Sat Aug 30 20:08:20 PDT 2025


Given that llquantexpdN(max finite) is a large positive integer,
it seems to me that llquantexpdN(infinity) should be LLONG_MAX
(not LLONG_MIN) and be a domain error.

IEEE 754-2019 says in 5.3.2: quantum(infinity) is +infinity.


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