diff -up h5py-3.7.0/h5py/h5t.pyx.orig h5py-3.7.0/h5py/h5t.pyx --- h5py-3.7.0/h5py/h5t.pyx.orig 2022-06-14 16:31:22.964458579 +0000 +++ h5py-3.7.0/h5py/h5t.pyx 2022-06-14 16:31:46.404768118 +0000 @@ -282,18 +282,7 @@ cdef (int, int, int) _correct_float_info nmant = finfo.nmant maxexp = finfo.maxexp minexp = finfo.minexp - # workaround for numpy's buggy finfo on float128 on ppc64 archs - if ftype_ == np.longdouble and MACHINE == 'ppc64': - # values reported by hdf5 - nmant = 116 - maxexp = 1024 - minexp = -1022 - elif ftype_ == np.longdouble and MACHINE == 'ppc64le': - # values reported by hdf5 - nmant = 52 - maxexp = 1024 - minexp = -1022 - elif nmant == 63 and finfo.nexp == 15: + if nmant == 63 and finfo.nexp == 15: # This is an 80-bit float, correct mantissa size nmant += 1