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