$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Boost.UTF] Strange (failed) result on comparing floats
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2010-03-31 15:47:26
Olaf Peter <ope-devel <at> gmx.de> writes:
> > Our esteemed and illustrious author of the invaluable Test library was
begged not to use percents but ...
>
> why this?
1. Backward compatibility
2. In laymen terms it's easier to understand % based comparison: a different
from b by x percent. Otherwise you need to understand notion of relative error,
which may not be the case unless you expert in the field.
One other point is that the error message clearly referred to the %. It should
have gave you a hint.
Gennadiy