Open Xeverous opened 5 years ago
Curious. I always thought integer underflow
meant passing the lowest representable number. Not sure if I am too happy with calling it integer overflow
or integer wrap-around
instead.
Think of overflow
as an absolute value that is too large to fit inside.
03-Style - line 368
The text mentions "integer underflow". There is no such thing. Underflow (that is, truncation to zero) happens only for floating point types.
https://stackoverflow.com/questions/6360049/what-are-arithmetic-underflow-and-overflow-in-c