Hacker News new | ask | show | jobs
by dpacmittal 1588 days ago
You could also do (a + (b-a)/2) where a is the smaller number.