
8 Jun
2006
8 Jun
'06
3:07 p.m.
"Pierre-Jules Tremblay" <iamtrep@gmail.com> wrote in message news:4590bfef0606080504m24a76fffi9a7b2883f56c37b0@mail.gmail.com...
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