python float-point problem

unidevel at gmail.com unidevel at gmail.com
Fri Feb 23 07:19:29 EST 2007


I just compiled python 2.4.2 using openembedded for my zaurus C750.
I test some comparison for float-pointing number, for example:
3.1<3.0 True
3.2<3.0 True
3.3<3.0 False
8.4<4.0 True
I use the cross compiler that compiled python to make a simple C
program,
got correct results.
Anyone have some idea about that?




More information about the Python-list mailing list