
25 May
2005
25 May
'05
5:15 p.m.
If I want to check that two values differ by not more than just one binary ULP (least significant bit), is the BOOST_CHECK_CLOSE tolerance
numeric_limits<double>::epsilon() * 100.?
*100. because tolerance is in percent - sniff ;-)
Documentation explicitly emphasize that tolerance is in percents. Previously there was a lot of confusion, when people tried to employ this check to do absolute comparisons. Now it's clear - comparisons are relative (to the value modules) Gennadiy