[Python-bugs-list] [ python-Bugs-756093 ] complex pow() crash on Alpha

SourceForge.net noreply@sourceforge.net
Mon, 23 Jun 2003 04:13:54 -0700


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

Category: None
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Nobody/Anonymous (nobody)
Summary: complex pow() crash on Alpha

Initial Comment:
Python crashes with a floating point exception on SF's
 Alpha/Linux 2.2 machine in the compile farm:
$ ./python
Python 2.3b1+ (#2, Jun 17 2003, 10:50:58) 
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for
more information.
>>> pow(1e200+1j,1e200+1j)
Floating point exception
$

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

>Comment By: Walter Dörwald (doerwalter)
Date: 2003-06-23 13:13

Message:
Logged In: YES 
user_id=89016

Doesn't seem that way: gcc -pthread -c  -DNDEBUG -g -O3
-Wall -Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE
-o Objects/complexobject.o Objects/complexobject.c

Changing OPT in Makefile to include -ieee and recompiling
doesn't fix the problem, I still get a "Floating point
exception".

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

Comment By: Martin v. Löwis (loewis)
Date: 2003-06-21 15:51

Message:
Logged In: YES 
user_id=21627

Can you tell whether you were compiling with -ieee?

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

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