A Monday 07 January 2008, Nils Wagner escrigué:
> On Mon, 7 Jan 2008 19:42:40 +0100
>
> Francesc Altet <[EMAIL PROTECTED]> wrote:
> > A Monday 07 January 2008, Nils Wagner escrigué:
> >> >>> numpy.sqrt(numpy.array([-1.0],
> >>
> >>dtype=numpy.complex192))
> >>
> >> Traceback (most recent call las
On Mon, 7 Jan 2008 19:42:40 +0100
Francesc Altet <[EMAIL PROTECTED]> wrote:
> A Monday 07 January 2008, Nils Wagner escrigué:
>> >>> numpy.sqrt(numpy.array([-1.0],
>>dtype=numpy.complex192))
>>
>> Traceback (most recent call last):
>>File "", line 1, in
>> AttributeError: 'module' object ha
A Monday 07 January 2008, Nils Wagner escrigué:
> >>> numpy.sqrt(numpy.array([-1.0], dtype=numpy.complex192))
>
> Traceback (most recent call last):
>File "", line 1, in
> AttributeError: 'module' object has no attribute
> 'complex192'
>
> >>> numpy.__version__
>
> '1.0.5.dev4673'
It seems li
On Mon, 7 Jan 2008 10:10:50 +0100
"Matthieu Brucher" <[EMAIL PROTECTED]> wrote:
> i,
>
> I managed to reproduce your bugs on a FC6 box :
import numpy as n
>
n.sqrt(n.array([-1.0],dtype = n.complex192))
> array([0.0+9.2747134e+492j], dtype=complex192)
>
n.sqrt(n.array([-1.0],dtyp
Thanks for the fast replies, now I know it's not my machine that gives me
trouble.
In the meantime I tested a couple of other functions. It seems that all of them
fail with complex192.
/Matts
In [19]: x192 = arange(0,2,0.5,dtype = complex192)*pi
In [20]: x128 = arange(0,2,0.5,dtype = complex128
It doesn't work on Windows, either.
In [35]: numpy.sqrt(numpy.array([-1.0], dtype=numpy.complex192))
Out[35]: array([0.0+2.9996087e-305j], dtype=complex192)
In [36]: numpy.sqrt(numpy.array([-1.0], dtype=numpy.complex128))
Out[36]: array([ 0.+1.j])
In [37]: numpy.__version__
Out[37]: '1.0.5.dev45
i,
I managed to reproduce your bugs on a FC6 box :
>>> import numpy as n
>>> n.sqrt(n.array([-1.0],dtype = n.complex192))
array([0.0+9.2747134e+492j], dtype=complex192)
>>> n.sqrt(n.array([-1.0],dtype = n.complex128))
array([ 0.+1.j])
>>> x=n.array([0.0+0.0j, 1.0+0.0j], dtype=n.complex192)
>>>
Hi,
I've started using complex192 for some calculations and came across two things
that seems to be bugs:
In [1]: sqrt(array([-1.0],dtype = complex192))
Out[1]: array([0.0+-6.1646549e-4703j], dtype=complex192)
In [2]: sqrt(array([-1.0],dtype = complex128))
Out[2]: array([ 0.+1.j])
In [3]: x
Out