[Numpy-discussion] OS X PPC problem with Numpy 1.3.0b1
Charles R Harris
charlesr.harris@gmail....
Mon Mar 23 16:57:15 CDT 2009
On Mon, Mar 23, 2009 at 3:32 PM, Bruce Southey <bsouthey@gmail.com> wrote:
> Pauli Virtanen wrote:
> > Mon, 23 Mar 2009 15:03:09 -0500, Bruce Southey wrote:
> > [clip]
> >
> >> I do not know if this is related, but I got similar error with David's
> >> windows 64 bits installer on my 64 bit Vista system.
> >> http://mail.scipy.org/pipermail/numpy-discussion/2009-March/041282.html
> >>
> >> In particular this code crashes:
> >>
> >>>>> import numpy as np
> >>>>> info = np.finfo(np.longcomplex)
> >>>>>
> >
> > Could you narrow that down a bit: do
> >
> > import numpy as np
> > z = np.longcomplex(complex(1.,1.))
> > z + z
> > z - z
> > z * z
> > z / z
> > z + 2
> > z - 2
> > z * 2
> > z / 2
> > z**0
> > z**1
> > z**2
> > z**3
> > z**4
> > z**4.5
> > z**(-1)
> > z**(-2)
> > z**101
> >
> > Do you get a crash at some point?
> >
> >
> No.
>
> I get a problem with using longdouble as that is the dtype that causes
> the TestPower.test_large_types to crash.
> Also, np.finfo(np.float128) crashes. I can assign and multiple
> longdoubles and take the square root but not use the power '**'.
> >>> y=np.longdouble(2)
> >>> y
> 2.0
> >>> y**1
> 2.0
> >>> y**2
> crash
>
Do you know if your binary was compiled with MSVC or mingw? I suspect the
latter because I don't think MSVC supports float128 (long doubles are
doubles). So there might be a library problem...
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090323/2209838e/attachment.html
More information about the Numpy-discussion
mailing list