Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aimor
on Dec 7, 2022
|
parent
|
context
|
favorite
| on:
Fast midpoint between two integers without overflo...
Although (a + b)/2 rounds towards 0, while the non-overflow solutions round up or down.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: