summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-09-10 10:59:56 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-09-10 10:59:56 (GMT)
commit982ec313d61fda25b3eb27f2c3193f7ca5201a31 (patch)
tree3c87bb67838825123a5f61ac52903e29f11acae7 /test
parentf1c17f305426190dc7027bc63fcb4d28b90ba89d (diff)
downloadhdf5-982ec313d61fda25b3eb27f2c3193f7ca5201a31.zip
hdf5-982ec313d61fda25b3eb27f2c3193f7ca5201a31.tar.gz
hdf5-982ec313d61fda25b3eb27f2c3193f7ca5201a31.tar.bz2
[svn-r27742] Merge of r26623 from the trunk
Remove the LDOUBLE_TO_LLONG_ACCURATE macro/define, it's working around bugs in older SGI, HP/UX, MacOSX and Windows .NET 2003 compilers. Tested on: jam (minor change that has baked in the trunk for months)
Diffstat (limited to 'test')
-rw-r--r--test/dt_arith.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c
index da3d49b..4caebaf 100644
--- a/test/dt_arith.c
+++ b/test/dt_arith.c
@@ -5052,40 +5052,8 @@ run_fp_int_conv(const char *name)
#endif /*H5_SIZEOF_LONG!=H5_SIZEOF_INT && H5_SIZEOF_LONG_DOUBLE!=0 */
#if H5_SIZEOF_LONG_LONG!=H5_SIZEOF_LONG && H5_SIZEOF_LONG_DOUBLE!=0
-#ifdef H5_LDOUBLE_TO_LLONG_ACCURATE
nerrors += test_conv_int_fp(name, test_values, H5T_NATIVE_LDOUBLE, H5T_NATIVE_LLONG);
-#else /*H5_LDOUBLE_TO_LLONG_ACCURATE*/
- {
- char str[256]; /*string */
-
- HDsnprintf(str, sizeof(str), "Testing %s %s -> %s conversions",
- name, "long double", "long long");
- printf("%-70s", str);
- SKIPPED();
-#if H5_SIZEOF_LONG_DOUBLE!=0
- HDputs(" Test skipped due to hardware conversion error.");
-#else
- HDputs(" Test skipped due to disabled long double.");
-#endif
- }
-#endif /*H5_LDOUBLE_TO_LLONG_ACCURATE*/
-#if defined(H5_LDOUBLE_TO_LLONG_ACCURATE)
nerrors += test_conv_int_fp(name, test_values, H5T_NATIVE_LDOUBLE, H5T_NATIVE_ULLONG);
-#else /*H5_LDOUBLE_TO_LLONG_ACCURATE*/
- {
- char str[256]; /*string */
-
- HDsnprintf(str, sizeof(str), "Testing %s %s -> %s conversions",
- name, "long double", "unsigned long long");
- printf("%-70s", str);
- SKIPPED();
-#if H5_SIZEOF_LONG_DOUBLE!=0
- HDputs(" Test skipped due to hardware conversion error.");
-#else
- HDputs(" Test skipped due to disabled long double.");
-#endif
- }
-#endif /*H5_LDOUBLE_TO_LLONG_ACCURATE*/
#endif
#endif
} /* end for */