summaryrefslogtreecommitdiffstats
path: root/test/dt_arith.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2013-09-30 21:51:26 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2013-09-30 21:51:26 (GMT)
commit497507f5a90977efe1241eae0230b830f17ecbec (patch)
tree930d768bc3da01e8ae8429c1e18e4f215a7376e5 /test/dt_arith.c
parent03c29f0ffda11bf521c0951bca0a423c4b8258d9 (diff)
downloadhdf5-497507f5a90977efe1241eae0230b830f17ecbec.zip
hdf5-497507f5a90977efe1241eae0230b830f17ecbec.tar.gz
hdf5-497507f5a90977efe1241eae0230b830f17ecbec.tar.bz2
[svn-r24231] Issue 1264: CYGWIN had long double rounding problem from unsigned long long. Allen confirmed the problem is gone. So I took
out the macro CYGWIN_ULLONG_TO_LDOUBLE_ROUND_PROBLEM. It skipped the test related to this issue. Tested with h5committest.
Diffstat (limited to 'test/dt_arith.c')
-rw-r--r--test/dt_arith.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c
index 2d24b11..a22bd6d 100644
--- a/test/dt_arith.c
+++ b/test/dt_arith.c
@@ -5179,9 +5179,9 @@ run_int_fp_conv(const char *name)
HDputs(" Test skipped due to compiler error in handling conversion.");
}
#endif /* H5_LLONG_TO_LDOUBLE_CORRECT */
-#if !H5_CYGWIN_ULLONG_TO_LDOUBLE_ROUND_PROBLEM && H5_ULLONG_TO_FP_CAST_WORKS && H5_ULLONG_TO_LDOUBLE_PRECISION && H5_LLONG_TO_LDOUBLE_CORRECT
+#if H5_ULLONG_TO_FP_CAST_WORKS && H5_ULLONG_TO_LDOUBLE_PRECISION && H5_LLONG_TO_LDOUBLE_CORRECT
nerrors += test_conv_int_fp(name, TEST_NORMAL, H5T_NATIVE_ULLONG, H5T_NATIVE_LDOUBLE);
-#else /* !H5_CYGWIN_ULLONG_TO_LDOUBLE_ROUND_PROBLEM && H5_ULLONG_TO_FP_CAST_WORKS && H5_ULLONG_TO_LDOUBLE_PRECISION && H5_LLONG_TO_LDOUBLE_CORRECT */
+#else /* H5_ULLONG_TO_FP_CAST_WORKS && H5_ULLONG_TO_LDOUBLE_PRECISION && H5_LLONG_TO_LDOUBLE_CORRECT */
{
char str[256]; /*hello string */
@@ -5191,7 +5191,7 @@ run_int_fp_conv(const char *name)
SKIPPED();
HDputs(" Test skipped due to compiler not handling conversion.");
}
-#endif /* !H5_CYGWIN_ULLONG_TO_LDOUBLE_ROUND_PROBLEM && H5_ULLONG_TO_FP_CAST_WORKS && H5_ULLONG_TO_LDOUBLE_PRECISION && H5_LLONG_TO_LDOUBLE_CORRECT */
+#endif /* H5_ULLONG_TO_FP_CAST_WORKS && H5_ULLONG_TO_LDOUBLE_PRECISION && H5_LLONG_TO_LDOUBLE_CORRECT */
#endif
#endif
#else /*H5_INTEGER_TO_LDOUBLE_ACCURATE*/