[Numpy-discussion] Complex zerodivision/negative powers not handled correctly

2009-12-08 Thread Jörgen Stenarson
Hi, I have observed a problem with complex zerodivision and negative powers. With a complex zero the result is either zero or NaN NaNj, the first one is clearly wrong and the other one I don't know what is most reasonable some kind of inf or a Nan. This problem has been reported in the tracker

Re: [Numpy-discussion] [RFC] complex functions in npymath

2009-10-30 Thread Jörgen Stenarson
David Cournapeau skrev: The missing piece in complex support in npymath is mostly tests: I have tests for all the special cases (all special cases specified in C99 standard are tested), but no test for the actual 'normal' values. If you (or someone else) could add a couple of tests, that would

Re: [Numpy-discussion] Compilation failure on python2.4 win32

2007-09-23 Thread Jörgen Stenarson
Pearu Peterson skrev: On Fri, September 21, 2007 10:23 pm, Jörgen Stenarson wrote: Travis E. Oliphant skrev: Jörgen Stenarson wrote: Hi, I cannot compile numpy (rev 2042) for python2.4 on win32, it works on python2.5. It looks like the call to function get_build_architecture

Re: [Numpy-discussion] Compilation failure on python2.4 win32

2007-09-21 Thread Jörgen Stenarson
Travis E. Oliphant skrev: Jörgen Stenarson wrote: Hi, I cannot compile numpy (rev 2042) for python2.4 on win32, it works on python2.5. It looks like the call to function get_build_architecture in distutils.misc_util.py is python2.5 specific. Yes. This needs to be fixed. I'll do

Re: [Numpy-discussion] Compilation failure on python2.4 win32

2007-09-20 Thread Jörgen Stenarson
Travis E. Oliphant skrev: Jörgen Stenarson wrote: Hi, I cannot compile numpy (rev 2042) for python2.4 on win32, it works on python2.5. It looks like the call to function get_build_architecture in distutils.misc_util.py is python2.5 specific. Yes. This needs to be fixed. I'll do

[Numpy-discussion] Compilation failure on python2.4 win32

2007-09-16 Thread Jörgen Stenarson
Hi, I cannot compile numpy (rev 2042) for python2.4 on win32, it works on python2.5. It looks like the call to function get_build_architecture in distutils.misc_util.py is python2.5 specific. /Jörgen C:\python\external\numpypython setup.py config --compiler=mingw32 build --compiler=mingw32