Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is a good introductory article, but I would not recommend it for more advanced use cases. Just because two numbers are "close" does not mean that they are "equal". If truly precise floating point math is needed, symbolic representations are a much better way to do things.


Python supports rational numbers just fine, too.




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

Search: