[cfp-interest 3555] Overflow, non-default rounding, errno is what?
Fred J. Tydeman
tydeman at tybor.com
Sun Aug 3 16:56:02 PDT 2025
In reading 7.12.1 on "overflow", I do not see any words on what
happens to errno on overflow in non-default rounding.
Normally, if nothing is said, that means implicit Undefined Behaviour.
I assume we would want implementation-defined behaviour or
alter to ERANGE.
---
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