Boost logo

Ublas :

From: Simon Perreault (nomis80_at_[hidden])
Date: 2006-05-27 14:25:41


I'm wondering why this statement is false:

boost::numeric::ublas::type_traits<double>::equals( 0, .1 + .1 + .1 - .3 );

I was thinking that the equals() function's purpose was to do a fuzzy equality
test. But if it fails in that case, it's either not very good at it, or it
has another purpose.