[Numpy-discussion] float128 in fact float80

Dag Sverre Seljebotn d.s.seljebotn@astro.uio...
Mon Oct 17 03:20:06 CDT 2011


On 10/17/2011 03:22 AM, Charles R Harris wrote:
>
>
> On Sun, Oct 16, 2011 at 6:13 PM, Nathaniel Smith <njs@pobox.com
> <mailto:njs@pobox.com>> wrote:
>
>     The solution is just to call it 'longdouble', which clearly
>     communicates 'this does some quirky thing that depends on your C
>     compiler and architecture'.
>
>
> Well, I don't know. If someone is unfamiliar with floats I would expect
> they would post a complaint about bugs if a file of longdouble type
> written on a 32 bit system couldn't be read on a 64 bit system. It might
> be better to somehow combine both the ieee type and the storage alignment.

np.float80_96
np.float80_128


?

Dag Sverre


More information about the NumPy-Discussion mailing list