Hacker News new | past | comments | ask | show | jobs | submit login

Really? It wasn't to use Kahan summation?


Hah! Well, yeah, that too. But if there's a gun to your head, sorting the list before adding will get you most of the way there with the least amount of work.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact