Hi Rafal, I entered bug HDFFV-10305 for this issue. We will investigate it. Feel free to send a message to the helpdesk ([email protected]) if you want to check on the status of the problem.
Thank you! -Barbara [email protected] -----Original Message----- From: Hdf-forum [mailto:[email protected]] On Behalf Of Rafal Lichwala Sent: Wednesday, October 11, 2017 6:39 AM To: [email protected] Subject: [Hdf-forum] long double type problem Hi All, I've just discovered the problem with type conversion between C++ native "long double" and H5T_NATIVE_LDOUBLE. On Windows x86_64 machine (Cygwin + GCC) it seems that long double has 128 bits, while H5T_NATIVE_LDOUBLE is treated as "64-bit floating point" (as described in HDFView). That means the value stored in HDF file may be silently truncated to 64 bits... In C++ on such machine long double macro LDBL_MAX value is properly reported as 1.18973e+4932, but in HDF file (HDFView) it is already "Infinity". Is it a limitation in the HDF library? Is there any workaround for that issue? Best regards, Rafal _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5 _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
