[Numpy-discussion] np.longlong casts to int
Thu Feb 23 06:06:48 CST 2012
On Feb 23, 2012, at 5:43 AM, Nathaniel Smith wrote:
> On Thu, Feb 23, 2012 at 11:40 AM, Francesc Alted <email@example.com> 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:
Not sure on why they did that (portability issues?).
-- Francesc Alted
More information about the NumPy-Discussion