411 REFERENCE · Wikibooks
Floating Point/Comparing FP Numbers
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Floating Point Comparisons
It has been said by many people that floating point numbers should never be compared directly to each other for equality, although this is not strictly true. This page will discuss some common techniques and fallacies for comparing floating point numbers for equality and inequality.