Y
Hacker News
new
|
ask
|
show
|
jobs
by
vortico
2641 days ago
`(uint32_t) (((uint64_t) a + (uint64_t) b) / 2)` and then go on with your life. :P