-
Iustin Pop authored
This further improves the comparison for "non-trivial" numbers. Without this patch, there are still cases where the absolute error is too big, and we need to switch to relative error. Concept has been taken from <http://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/ >. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com>
c56dd17b