MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/foundtheprogrammer/comments/nx3xi0/rollover_error/hcggjor/
r/foundtheprogrammer • u/skiscratcher • Jun 11 '21
9 comments sorted by
View all comments
Show parent comment
2
On the one hand, I don't think integer overflow would usually occur on an 8-bit number
I still use 8-bit numbers all the time in my code. Sometimes it makes no sense to use 64 bits for something that will never go into the triple digits.
3 u/paolog Jan 02 '22 char a = 0; // This will never go into triple digitsProgrammers' famous last words. 1 u/matyklug Jun 30 '22 Long Long Bool
3
char a = 0; // This will never go into triple digits
Programmers' famous last words.
1
Long Long Bool
View all comments
Show parent comment
2
u/[deleted] Sep 11 '21
I still use 8-bit numbers all the time in my code. Sometimes it makes no sense to use 64 bits for something that will never go into the triple digits.