Boost logo

Boost Users :

Subject: Re: [Boost-users] [test] upgrading from 1.58 to 1.59
From: Mathieu Champlon (m.champlon_at_[hidden])
Date: 2015-09-07 16:33:37


On 07/09/2015 07:49, Gennadiy Rozental wrote:
> For other use cases you can use close_at_tolerance directly:
>
> fpc::close_at_tolerance<double> tester( 0.01, fpc::FPC_STRONG );
>
> if( tester( a, b ) )
> ...
>
> or
>
> fpc::close_at_tolerance<double> tester( fpc::percent_tolerance(0.01),
> fpc::FPC_STRONG );
>
> if( tester( a, b ) )
> ...
>

Thank you Gennadiy, this is what I was looking for.

Cheers,
MAT.


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