Re: [Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-02 Thread Christian Heimes
Mark Dickinson wrote: > Thank you: a very useful thread. From what little information I'm turning > up on Google, it looks as though most of these devices---if they support > floating-point at all---provide some reasonably close approximation to IEEE > 754 floats (possibly emulated in software).

Re: [Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-01 Thread Jeffrey Yasskin
On Feb 1, 2008 6:31 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > On Feb 1, 2008 2:52 PM, Mark Dickinson <[EMAIL PROTECTED]> wrote: > > The IBM format is particularly troublesome because > > it's base 16 instead of base 2 (so e.g. multiplying a float by 2 can lose > > bits), but it appears that re

Re: [Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-01 Thread Mark Dickinson
On Feb 1, 2008 8:04 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > I spoke to Mikko Ohtamaa (Moo-- on #pys60) and he gave me the name of a > Nokia developer and this link > http://discussion.forum.nokia.com/forum/showthread.php?t=97263. I > already contacted the developer and asked him to reply

Re: [Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-01 Thread Neal Norwitz
On Feb 1, 2008 2:52 PM, Mark Dickinson <[EMAIL PROTECTED]> wrote: > The IBM format is particularly troublesome because > it's base 16 instead of base 2 (so e.g. multiplying a float by 2 can lose > bits), but it appears that recent IBM machines do both IBM format and IEEE > format floating-point.

Re: [Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-01 Thread Mark Dickinson
On Feb 1, 2008 7:56 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > Mostly. For VAX, there exist two double formats: the D format, and the > G format - not sure whether you counted them as two. > I didn't. Thanks. > They run Linux, so yes. Notice that other people also run Python on z/OS. >

Re: [Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-01 Thread Christian Heimes
Mark Dickinson wrote: > At the other end of the spectrum are embedded devices and cellphones. Here > I have no idea what the situation is at all---any information would be > valuable. I spoke to Mikko Ohtamaa (Moo-- on #pys60) and he gave me the name of a Nokia developer and this link http://disc

Re: [Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-01 Thread Martin v. Löwis
> What non IEEE 754 platforms exist that people care about running Python > 2.6, Python 3.0 and higher on? VMS, that's even supported to some degree in the source tree, and OS/390 (aka z/OS); patches to support it have been rejected, but people will likely maintain a fork themselves. > The major

Re: [Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-01 Thread Christian Heimes
Mark Dickinson wrote: > At the other end of the spectrum are embedded devices and cellphones. Here > I have no idea what the situation is at all---any information would be > valuable. I know two mobile phone platforms for Python: Nokia S60 and Pippy for Palm. I haven't had time to study Python on

[Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-01 Thread Mark Dickinson
A request for information: What non IEEE 754 platforms exist that people care about running Python 2.6, Python 3.0 and higher on? By non IEEE 754 platform, I mean a platform where either the C double is not the usual 64-bit IEEE floating-point format, or where the C double is IEEE format but the p