Boost logo

Boost Users :

From: Pierre-Jules Tremblay (iamtrep_at_[hidden])
Date: 2006-06-08 08:04:31


What would you propose for floating-point comparisons?

On 6/2/06, Gennadiy Rozental <gennadiy.rozental_at_[hidden]> wrote:
>
> "Ed Johnson" <ed_at_[hidden]> wrote in message
> news:e5qld2$nh0$1_at_sea.gmane.org...
> > Hi,
> >
> > Is there a way to get the funcationality of BOOST_CHECK_EQUAL when I
> > want to test that two parameters are not equal to each other? I like the
> > way BOOST_CHECK_EQUAL allow me to see the mismatched runtime values.
>
> BOOST_CHECK_PREDICATE( std::not_equal_to<T>, (a)(b) );
>
> Gennadiy
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net