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

Fuzzy-compare for double values.

Uses comparison algorithm from http://floating-point-gui.de/errors/comparison/ with epsilon equal to 1.0e-14 (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.