[SciPy-user] longfloat in numpy
Sergey Dolgov
solkaa at gmail.com
Thu May 11 05:43:31 EDT 2006
On 5/10/06, Travis Oliphant <oliphant.travis at ieee.org> wrote:
> > In [14]: print numpy.exp( numpy.array([1000], dtype=numpy.longfloat))
> > [ inf]
> >
> > In [15]: print numpy.version.version
> > 0.9.6
> >
> >
> > i.e. seems like longfloat "doesn't work" inside array.
> >
> It does work, the error occurs only in the printing. Apparently the
> printing is trying to convert it to a float (which gives the inf) --- I
> suspect the right special-casing is not being applied in the printing
> code.
>
> You should file a ticket on the NumPy Trac pages.
>
I did that, thanks clarifying the issue.
--
Sergey
More information about the SciPy-User
mailing list