summaryrefslogtreecommitdiffstats
path: root/config/cmake/ConversionTests.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-03-25 19:12:00 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-03-25 19:12:00 (GMT)
commite89290b777cec040c4b07079f43df5df2885ba11 (patch)
treee845b9b09ab86f90f364eff3825a69a252f6549a /config/cmake/ConversionTests.c
parent299deb64fb087c2b74649645769f8a873627fa31 (diff)
downloadhdf5-e89290b777cec040c4b07079f43df5df2885ba11.zip
hdf5-e89290b777cec040c4b07079f43df5df2885ba11.tar.gz
hdf5-e89290b777cec040c4b07079f43df5df2885ba11.tar.bz2
[svn-r26584] Description:
Bring r26485 from the autotools_rework branch to the trunk: Remove the ULONG_TO_FLOAT_ACCURATE macro/define, we no longer support the Sandia system where it was necessary. Tested on: Linux/32 2.6.18 (jam) w/serial & parallel (daily tested for >1 week)
Diffstat (limited to 'config/cmake/ConversionTests.c')
-rw-r--r--config/cmake/ConversionTests.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/config/cmake/ConversionTests.c b/config/cmake/ConversionTests.c
index 7238af0..e157909 100644
--- a/config/cmake/ConversionTests.c
+++ b/config/cmake/ConversionTests.c
@@ -410,38 +410,6 @@ done:
#endif
-#ifdef H5_ULONG_TO_FLOAT_ACCURATE_TEST
-
-int main(void)
-{
- int ret = 0;
- unsigned long l1;
- unsigned long l2;
- unsigned long l3;
- float f1;
- float f2;
- float f3;
-
-
- if(sizeof(unsigned long)==8) {
- l1 = 0xffffffffffffffffUL;
- l2 = 0xffffffffffff0000UL;
- l3 = 0xf000000000000000UL;
-
- f1 = (float)l1;
- f2 = (float)l2;
- f3 = (float)l3;
-
- if((f1 < 0) || (f2 < 0) || (f3 < 0))
- ret = 1;
- }
-
-done:
- exit(ret);
-}
-
-#endif
-
#ifdef H5_ULONG_TO_FP_BOTTOM_BIT_ACCURATE_TEST
#include <string.h>