Re: math.exp bug on alpha?

2002-01-16 Thread Gregor Hoffleit
* Bastian Kleineidam <[EMAIL PROTECTED]> [020111 11:41]:
> On Thu, Jan 10, 2002 at 09:28:30PM +0300, Mikhail Sobolev wrote:
> > On Thu, Jan 10, 2002 at 06:29:58PM +0100, Bastian Kleineidam wrote:
> > > On Thu, Jan 10, 2002 at 05:25:43PM +, Luigi Ballabio wrote:
> > > > on alpha debian, python 2.1.1-8:
> > > > 
> > > Works for me, no aborts. (i386, python 2.1.1-8)
> > Just compare the platform... :)
> I did. So its a platform specific bug.

Cf. http://bugs.debian.org/106421.

Gregor




Re: math.exp bug on alpha?

2002-01-11 Thread Bastian Kleineidam
On Thu, Jan 10, 2002 at 09:28:30PM +0300, Mikhail Sobolev wrote:
> On Thu, Jan 10, 2002 at 06:29:58PM +0100, Bastian Kleineidam wrote:
> > On Thu, Jan 10, 2002 at 05:25:43PM +, Luigi Ballabio wrote:
> > >   on alpha debian, python 2.1.1-8:
> > > 
> > Works for me, no aborts. (i386, python 2.1.1-8)
> Just compare the platform... :)
I did. So its a platform specific bug.

Bastian


pgpHk5AnVeB4t.pgp
Description: PGP signature


Re: math.exp bug on alpha?

2002-01-10 Thread Mikhail Sobolev
On Thu, Jan 10, 2002 at 06:29:58PM +0100, Bastian Kleineidam wrote:
> On Thu, Jan 10, 2002 at 05:25:43PM +, Luigi Ballabio wrote:
> > on alpha debian, python 2.1.1-8:
> > 
> Works for me, no aborts. (i386, python 2.1.1-8)
Just compare the platform... :)

--
Misha




Re: math.exp bug on alpha?

2002-01-10 Thread Bastian Kleineidam
On Thu, Jan 10, 2002 at 05:25:43PM +, Luigi Ballabio wrote:
> 
> Greetings,
>   on alpha debian, python 2.1.1-8:
> 
> >>> import math
> >>> math.exp(-720)
> 
> aborts the interpreter with a floating point exception. The strange thing 
> is, exp(-700) and exp(-750) both work.

Works for me, no aborts. (i386, python 2.1.1-8)
Python 2.1.1+ (#1, Jan  8 2002, 00:37:12) 
[GCC 2.95.4 20011006 (Debian prerelease)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import math
>>> math.exp(-720)
2.0322308024183599e-313
>>> math.exp(-700)
9.8596765437597708e-305
>>> math.exp(-750)
0.0
>>> 


Greetings, Bastian

pgpz6FLc5QYRJ.pgp
Description: PGP signature


math.exp bug on alpha?

2002-01-10 Thread Luigi Ballabio
Greetings,
on alpha debian, python 2.1.1-8:
>>> import math
>>> math.exp(-720)
aborts the interpreter with a floating point exception. The strange thing 
is, exp(-700) and exp(-750) both work.

Any insight?
Thanks in advance,
Luigi