Why does int(5.0) returns 0

Mike Meyer mwm at mired.org
Mon Jan 27 23:50:58 CET 2003

spatel <spatel at cinci.rr.com> writes:
> glibc 2.3.1-r2 with pentium4 and -O3 optimization created this mess. When I
> recompile glibc without optimization, it fix this problem. Thank you very
> much for all of your help.

The FreeBSD community generally considers gcc optimization levels
2 or greater to be broken. You might try it with just -O. That works
fine here. Actually, I use "-O -pipe".

Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

More information about the Python-list mailing list