Why does int(5.0) returns 0

Roberto Cavada cavada at irst.itc.it
Mon Jan 27 11:04:22 CET 2003


spatel wrote:
> glibc 2.3.1-r2 with pentium4 and -O3 optimization created this mess. When I
> recompile glibc without optimization, it fix this problem. 

Which compiler version did you use?
This can help to keep track of similar problems.
rob

-- 
------------------------------------------------------
Roberto Cavada
ITC-irst Institute for Scientific and Technological Research
Automated Reasoning Systems - Formal Methods Group
Via Sommarive, 18 - 38050 Povo (TN) - Italy
Tel: +39 0461 314 321   Fax: +39 0461 302 040
cavada at irst.itc.it  http://sra.itc.it/people/cavada/
------------------------------------------------------






More information about the Python-list mailing list