Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Spoof7726
21 days ago
|
parent
|
context
|
favorite
| on:
How to pack ternary numbers in 8-bit bytes
Because division is not trivial. Even computing x mod 3 for an n-bit integer x is O(n), if x is represented in the binary form.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: