[SciPy-user] longfloat print out problem in Windows XP

Macro Zhu macrozhu at gmail.com
Thu Oct 23 08:34:42 EDT 2008


Hi,

I met this print out problem for longfloat type:

> print scipy.longfloat(10)
-1.49166814624e-154

> print float(scipy.longfloat(10))
10.0

> print scipy.array(10, dtype='longfloat')
-1.49166814624e-154

The same problem happens with Numpy as well.
How can I get the print out of longfloat correctly, except by converting it
back to the float type?
I am using scipy 0.6.0 and numpy 1.2.0 with python 2.4 in Windows XP SP3.

Thanks!

-Mac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20081023/6ce37b09/attachment.html>


More information about the SciPy-User mailing list