Boost logo

Boost :

From: Deane Yang (deane_yang_at_[hidden])
Date: 2007-02-18 23:59:21


Gennadiy Rozental wrote:
> "John Maddock" <john_at_[hidden]> wrote in message
> news:000d01c75277$f5144280$4f4e0352_at_fuji...
>> Gennadiy Rozental wrote:
>>>> Personally I would have liked these to have been really explicit:
>>>>
>>>> BOOST_CHECK_PERSENTAGE_DIFFERENCE
>>>> BOOST_CHECK_RELATIVE_DIFFERENCE
>>>> BOOST_CHECK_EPSILON_DIFFERENCE
>>> IMO above names way too wordy. All above tools already exist in
>>> boost.Test
>> I appreciate your desire for concise names. However, my gut feeling is
>> that
>> this causes enough confusion that only a
>> really_descriptive_and_totally_obvious_name will do :-)
>
> Ok. How about
>
> BOOST_CHECK_PRC_DIFF
> BOOST_CHECK_REL_DIFF
> BOOST_CHECK_EPS_DIFF
>
> How about
>
> BOOST_CHECK_ABS_DIFF
>
> for absolute difference comparison?

Please, no. No cryptic abbreviations like "PRC". You're obviously a lot
younger or have a much better functioning brain than me. I'd rather
spend the extra time typing something that I can read in plain English.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk