< Floating Point

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 falacies for comparing floating point numbers for equality and inequality.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.