Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Lukas_Skywalker
on June 28, 2023
|
parent
|
context
|
favorite
| on:
Finally getting two's complement
That is exactly the 9‘s complement. The digits add up to 9.
venusenvy47
on July 10, 2023
[–]
I thought there was more to the calculation of N's complement. Something about adding one to the result. It doesn't seem like something you can easily perform using inspection.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: