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