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

SourceForge.net noreply at sourceforge.net
Wed Sep 17 21:33:20 EDT 2003


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

Category: Python Interpreter Core
Group: Python 2.3
>Status: Closed
>Resolution: Duplicate
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



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

>Comment By: Ben Escoto (bescoto)
Date: 2003-09-17 18:33

Message:
Logged In: YES 
user_id=218965

Oops, accidentally double posted somehow

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

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