diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2006-06-23 22:11:12 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2006-06-23 22:11:12 (GMT) |
commit | 4dfad81062f0b195ee9fd10f0b4e5ba2f6056aeb (patch) | |
tree | dd1beab639cb485e8c4b785112f00081c4d7d321 /src/H5config.h.in | |
parent | 842895a79950c2d43958831991a97802bcd58431 (diff) | |
download | hdf5-4dfad81062f0b195ee9fd10f0b4e5ba2f6056aeb.zip hdf5-4dfad81062f0b195ee9fd10f0b4e5ba2f6056aeb.tar.gz hdf5-4dfad81062f0b195ee9fd10f0b4e5ba2f6056aeb.tar.bz2 |
[svn-r12435] Purpose: Bug fix
Description: Mac OS 10.4 on PowerPC chip has some errors to convert (unsigned)
long long to long double. When the bit sequences are 0x003ff..., 0x007fff...,
0x00ffff..., 0x01ffff..., 0x7fffff..., the converted values are twice as big
as they should be.
Solution: Detect the error in configure and disable the compiler conversion
and test case.
Platforms tested: h5committest, Mac OS 10.4, and fuss.
Diffstat (limited to 'src/H5config.h.in')
-rw-r--r-- | src/H5config.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in index 5497037..86e30f2 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -394,6 +394,10 @@ /* Define if your system can compile long long to floating-point casts. */ #undef LLONG_TO_FP_CAST_WORKS +/* Define if your system can convert (unsigned) long long to long double + values correctly. */ +#undef LLONG_TO_LDOUBLE_CORRECT + /* Define if your system can handle complicated MPI derived datatype correctly. */ #undef MPI_COMPLEX_DERIVED_DATATYPE_WORKS |