[Python-Dev] RE: [Spambayes] Question (or possibly a bug report)
Meyer, Tony
T.A.Meyer@massey.ac.nz
Thu, 24 Jul 2003 17:06:57 +1200
> > So it's 0.0 < 0.001 that fails.
> And specifically because "0.001" is being treated as exactly
> 0.
Yes. Changing the print to:
print 0.0, 0.001, 0.0 < 0.001, 0.0 =3D=3D 0.001, 0.0 > 0.001
gives:
0.0 0.0 False True False
In addition, a print of:
print 0.0, 0.001, 0.0 < 0.001, 0.0 =3D=3D 0.001, 0.1, 0.01, =
0.0001
gives:
0.0 0.0 False True 0.0 0.0 0.0
> Which locale was in effect? This is starting to get odd <wink>.
German_Germany.1252
=3DTony Meyer