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

A single problem can be solved by using many different algorithms.

However, even though algorithm A and B are "correct" they can behave differently when rounding errors are introduced.

For example – if algorithm A uses


and B uses naive summation then you can expect the end result of A to be more precise than the end result of B – even though both algorithms are correct.

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