[Numpy-discussion] question about long doubles on ppc64el

Jens Nielsen jenshnielsen at gmail.com
Mon Jan 16 03:47:20 EST 2017


According to
https://docs.scipy.org/doc/numpy-dev/user/basics.types.html#extended-precision
numpy
long doubles are typically zero padded to 128 bits on 64 bit systems could
that be the reason?

On Mon, 16 Jan 2017 at 07:00 Thomas Caswell <tcaswell at gmail.com> wrote:

> Folks,
>
> Over at h5py we are trying to get a release out and have discovered (via
> debian) that on ppc64el there is an apparent disagreement between the size
> of a native long double according to hdf5 and numpy.
>
> For all of the gorey details see: https://github.com/h5py/h5py/issues/817
>  .
>
> In short, `np.longdouble` seems to be `np.float128` and according to the
> docs should map to the native 'long double'.  However, hdf5 provides a
> `H5T_NATIVE_LDOUBLE` which should also refer to the native 'long double',
> but seems to be a 64 bit float.
>
> Anyone on this list have a ppc64el machine (or experience with) that can
> provide some guidance here?
>
> Tom
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> https://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20170116/dc6c85a0/attachment.html>


More information about the NumPy-Discussion mailing list