On Feb 23, 2012, at 5:43 AM, Nathaniel Smith wrote:

> On Thu, Feb 23, 2012 at 11:40 AM, Francesc Alted <franc...@continuum.io> 
> wrote:
>> Exactly.  I'd update this to read:
>> 
>> float96    96 bits.  Only available on 32-bit (i386) platforms.
>> float128  128 bits.  Only available on 64-bit (AMD64) platforms.
> 
> Except float96 is actually 80 bits. (Usually?) Plus some padding…

Good point.  The thing is that they actually use 96 bit for storage purposes 
(this is due to alignment requirements).

Another quirk related with this is that MSVC automatically maps long double to 
64-bit doubles:

http://msdn.microsoft.com/en-us/library/9cx8xs15.aspx

Not sure on why they did that (portability issues?).

-- Francesc Alted



_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to