weird float() behavior
Terry Reedy
tjreedy at udel.edu
Mon Mar 31 18:20:15 EST 2003
<Screwy behaviour snipped>
> Ok, that's enough. Has anyone else seen this? Any ideas how I
broke
> it so completely? Is there more info I can post to better identify
it?
> Is there a regression test we could add to the post-compile process
to
> flag this?
int(floatval) works fine here
ActivePython 2.2.1 Build 222 (ActiveState Corp.) based on
Python 2.2.1 (#34, Apr 15 2002, 09:51:39) [MSC 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> int(3.6)
3
>>> int(2.1)
2
Terry J. Reedy
More information about the Python-list
mailing list