4 ms·
Overflow errors absolutely do happen. They're just no longer UB. It doesn't make them non-errors though. If your bank account balance overflowed, you'd be prett
by conradludgate 2y ago
Overflow errors absolutely do happen. They're just no longer UB. It doesn't make them non-errors though. If your bank account balance overflowed, you'd be pretty upset.
- bogeholm 2y agoOn the other hand, there’s a solid use case for underflow.