[Numpy-discussion] np.longlong casts to int
Thu Feb 23 06:06:03 CST 2012
Le 23/02/2012 12:40, Francesc Alted a écrit :
>> However, I was surprised that float128 is not mentioned in the array of
>> > available types in the user guide.
>> > http://docs.scipy.org/doc/numpy/user/basics.types.html
>> > Is there a specific reason for this absence, or is just about visiting
>> > the documentation wiki ;-) ?
> The reason is most probably that you cannot get a float96 or float128 whenever you want (depends on your architecture), so adding these types to the manual could be misleading. However, I'd advocate to document them while warning about platform portability issues
>> Does the following statements mean that those types are not available on
>> > all platforms ?
>> > float96 96 bits, platform?
>> > float128 128 bits, platform?
> 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.
Thanks for the enlightenment !
I was not aware of this 96 bits <-> 128 bits relationship.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 900 bytes
Desc: OpenPGP digital signature
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120223/65bf0762/attachment-0001.bin
More information about the NumPy-Discussion