summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2010-10-28 19:08:31 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2010-10-28 19:08:31 (GMT)
commit1e55692d9a41b05f8a8c14c4745cef71c9b4851e (patch)
treeb9acde7122343e37cce7009fb8946e5ebb04d91c /src
parent751b307df9208102042e205c360ef184c76f10fc (diff)
downloadhdf5-1e55692d9a41b05f8a8c14c4745cef71c9b4851e.zip
hdf5-1e55692d9a41b05f8a8c14c4745cef71c9b4851e.tar.gz
hdf5-1e55692d9a41b05f8a8c14c4745cef71c9b4851e.tar.bz2
[svn-r19696] Bug 2008 - IBM Power6 Linux uses special conversion algorithms to convert some values from long
double to (unsigned) long and from (unsigned) long to long double. I added tests in configure.in to detect these algorithms. Before I can figure out them, I disable the tests in dt_arith.c. There are property changes to tools/misc, config, and Makefile.am when I brought the fix from 1.8. Tested on jam, heiwa, amani, IBM Power6 Linux machine in Holland (huygens.sara.nl).
Diffstat (limited to 'src')
-rw-r--r--src/H5config.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in
index 3283893..c53ccca 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -435,6 +435,10 @@
values correctly. */
#undef LDOUBLE_TO_LLONG_ACCURATE
+/* Define if your system converts long double to (unsigned) long values with
+ special algorithm. */
+#undef LDOUBLE_TO_LONG_SPECIAL
+
/* Define if your system can convert long double to unsigned int values
correctly. */
#undef LDOUBLE_TO_UINT_ACCURATE
@@ -446,6 +450,10 @@
values correctly. */
#undef LLONG_TO_LDOUBLE_CORRECT
+/* Define if your system can convert (unsigned) long to long double values
+ with special algorithm. */
+#undef LONG_TO_LDOUBLE_SPECIAL
+
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR