significant digits?
David Relson
relson at osagesoftware.com
Thu Apr 10 01:07:22 CEST 2003
At 06:55 PM 4/9/03, Jim Correia wrote:
>Does bogofilter keep track of significant digits when doing its
>calculations, and take them into account when applying the cutoff value?
>
>X-Bogosity: No, tests=bogofilter, spamicity=0.949660, version=0.11.1.6
>
>Just curious if that one should have been caught with a spam_cutoff of
>0.95 (which isn't represented exactly as that in binary anyway.)
>
>Jim
No. 0.95 converts internally to 0.9500000 (or something similar) and
bogofilter uses the converted value. Implementing rounding _could_ be
done, but there's no point. If someone wants 0.94966 to indicate spam,
then they should specify a spam_cutoff value.
David
More information about the Bogofilter
mailing list