[SciPy-user] float96 displayed (incorrectly) as float64

Michael Abshoff michael.abshoff@googlemail....
Wed Feb 18 23:35:37 CST 2009

David Cournapeau wrote:
> On Thu, Feb 19, 2009 at 3:42 AM, Leo Trottier <trottier+pylist@gmail.com> wrote:
>> Hi,


>> I'd like to show off how much easier it is to work with multiple data types
>> in numpy (as compared with matlab).  It would be especially handy to show
>> off float96 , etc.
>> Unfortunately, this doesn't seem to work under Vista or Windows XP
> Windows does not support long double - long double is exactly the same
> as double on this platform.

The C99 standard does not guarantee that long double is any "longer" 
than double. Nearly all systems, but Windows do have a long double that 
is either 96 or 128 bits. But it is wrong to assume that this is always 
the case and it is not a violation of the C99 standard.

> The printing bug have been fixed and will
> be in the upcoming numpy 1.3.
> David



> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user

More information about the SciPy-user mailing list