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

Macro Zhu macrozhu@gmail....
Thu Oct 23 07:34:42 CDT 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://projects.scipy.org/pipermail/scipy-user/attachments/20081023/6ce37b09/attachment.html 


More information about the SciPy-user mailing list