template<>
Corrade::TestSuite::Comparator<float> class

Fuzzy-compare for float values.

Uses comparison algorithm from http://floating-point-gui.de/errors/comparison/ with epsilon equal to 1.0e-5f (which is one digit less than how Utility::Debug or Utility::format() prints them). Unlike the standard floating-point comparison, comparing two NaN values gives a true result.