8 Jun
2006
8 Jun
'06
3:07 p.m.
"Pierre-Jules Tremblay"
What would you propose for floating-point comparisons?
BOOST_CHECK_CLOSE - checks that two FP values relative difference doesn't exceed specified percent. BOOST_CHECK_CLOSE_FRACTION - checks that two FP values relative difference doesn't exceed specified value BOOST_CHECK_SMALL - checks that module of particular value doesn't exceed tolerance value Gennadiy