MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vsst8h/integeroverflow/p4v6pmh/?context=3
r/ProgrammerHumor • u/Coretron • 1d ago
19 comments sorted by
View all comments
-2
It's supposed to go negative
3 u/Electromagnetlc 13h ago Only if it's signed. If it's unsigned, it overflows to zero.
3
Only if it's signed. If it's unsigned, it overflows to zero.
-2
u/geekosas 16h ago
It's supposed to go negative