Hacker News new | comments | show | ask | jobs | submit login
What every computer scientist should know about floating-point arithmetic (sun.com)
23 points by TriinT 2821 days ago | hide | past | web | 2 comments | favorite



94 Pages? I'll sum it up for you here:

Rounding error happens. It's worse if you do add/subtract a very big number and a very small number.

Rounding error increases as you do more operations.

Depending on your platform, you may need to accomodate NaN's and positive/negative infinity.


If you really need floating point you don't understand your problem.

Old programmers joke from the time when cpus didn't have floating point co-processors.

It's possible, but it certainly is tedious.




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

Search: