[cvs] bogofilter/src xatof.c,1.2,1.3

Matthias Andree matthias.andree at gmx.de
Fri Feb 28 00:29:19 CET 2003


On Thu, 27 Feb 2003, relson at users.sourceforge.net wrote:

> Update of /cvsroot/bogofilter/bogofilter/src
> In directory sc8-pr-cvs1:/tmp/cvs-serv12965
> 
> Modified Files:
> 	xatof.c 
> Log Message:
> Allow terminal 'f'.

Why do you want to allow that? It makes no difference. 

If I see the configuration file as providing floating point constants in
C syntax, it's even bogus: the "f" suffix means "float", in constrast to
the default format, "double" in ANSI-C. Adding f would mean sacrificing
precision and incur conversions. The expected format _is_ double, not
float. Why bother? I find this "f" confusing and don't see the
motivation or need (yet?).

If it's a convenience, let's kill it before 1.0. Rather have the user
edit his bogofilter.cf for 0.11 than for 1.0.x.

-- 
Matthias Andree




More information about the bogofilter-dev mailing list