Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Spivak
3 months ago
|
parent
|
context
|
favorite
| on:
C++ proposal: There are exactly 8 bits in a byte
We probably wouldn't have chosen hex in a theoretical world where bytes were 10 bits, right? It would probably be two groups of 5 like 02:21 == 85 (like an ip address) or five groups of two 0x01111 == 85. It just has to be one of its divisors.
shultays
3 months ago
[–]
02:21
or instead of digits from 0 to F, the letters would go up V. 85 would be 0x2k I think (2 * 32 + 21)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: