7 Sep
2015
7 Sep
'15
8:33 p.m.
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.