[Python-bugs-list] [ python-Bugs-808286 ] Bad float->long conversion on openbsd/sparc

SourceForge.net noreply at sourceforge.net
Wed Sep 17 21:31:00 EDT 2003


Bugs item #808286, was opened at 2003-09-17 18:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=808286&group_id=5470

Category: None
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Ben Escoto (bescoto)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bad float->long conversion on openbsd/sparc

Initial Comment:
$ uname -srvpm

OpenBSD 3.3 GENERIC#0 sparc64 SUNW,UltraSPARC-IIi @ 333

MHz, version 0 FPU

$ ./python  

Python 2.3 (#1, Sep 17 2003, 21:15:45) 

[GCC 2.95.3 20010125 (prerelease, propolice)] on openbsd3

Type "help", "copyright", "credits" or "license" for

more information.

>>> long(1000.0)

0L

>>> long(1000000.0)

00000L

>>> 32767 < long(1000000.0) < 32768

1



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=808286&group_id=5470



More information about the Python-bugs-list mailing list