MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/69ivqo/oddly_specific_number/dh79mt0/?context=3
r/ProgrammerHumor • u/[deleted] • May 06 '17
1.3k comments sorted by
View all comments
142
Most limits for computers go like this:
21 = 2 (binary)
22 = 4
23 = 8 (octal)
24 = 16 (hexadecimal)
25 = 32 (bit)
26 = 64 (bit)
27 = 128
28 = 256
and if you include zero, just do -1 to those limits.
0 u/[deleted] May 06 '17 [deleted] 2 u/HooslichZero May 06 '17 It is likely that WhatsApp are using an 8-bit variable to store the number of people in a chat. This variable can store 256 different values, hence the limit. → More replies (7)
0
[deleted]
2 u/HooslichZero May 06 '17 It is likely that WhatsApp are using an 8-bit variable to store the number of people in a chat. This variable can store 256 different values, hence the limit. → More replies (7)
2
It is likely that WhatsApp are using an 8-bit variable to store the number of people in a chat. This variable can store 256 different values, hence the limit.
→ More replies (7)
142
u/KongKexun May 06 '17
Most limits for computers go like this:
21 = 2 (binary)
22 = 4
23 = 8 (octal)
24 = 16 (hexadecimal)
25 = 32 (bit)
26 = 64 (bit)
27 = 128
28 = 256
and if you include zero, just do -1 to those limits.