summaryrefslogtreecommitdiffstats
path: root/src/H5Tpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-03-23 19:50:39 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-03-23 19:50:39 (GMT)
commitfe435e3dd4d03524a5387cd7e872350a314c3d92 (patch)
tree5e0c7ade0fd9c2c9d40f1f311be7f1f1e26d4ea4 /src/H5Tpkg.h
parent7bfec19a02c63504a8db31e3f3163842a20afb25 (diff)
downloadhdf5-fe435e3dd4d03524a5387cd7e872350a314c3d92.zip
hdf5-fe435e3dd4d03524a5387cd7e872350a314c3d92.tar.gz
hdf5-fe435e3dd4d03524a5387cd7e872350a314c3d92.tar.bz2
[svn-r26543] Description:
Remove the LLONG_TO_LDOUBLE_CORRECT macro/define, it's working around bugs in very old SGI/FreeBSD/Windows compilers. Tested on: MacOSX/64 10.10.2 (amazon) w/serial & parallel (h5committest not needed on this branch)
Diffstat (limited to 'src/H5Tpkg.h')
-rw-r--r--src/H5Tpkg.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/H5Tpkg.h b/src/H5Tpkg.h
index e27d2c8..4697bfc 100644
--- a/src/H5Tpkg.h
+++ b/src/H5Tpkg.h
@@ -111,21 +111,6 @@
/* (_not_ setting H5T_VISIT_SIMPLE and setting either H5T_VISIT_COMPLEX_FIRST or H5T_VISIT_COMPLEX_LAST will mean visiting all nodes _except_ "simple" "leafs" in the "tree" */
-/* Define an internal macro for converting long long to long double. Mac OS 10.4 gives some
- * incorrect conversions. */
-#if (H5_WANT_DATA_ACCURACY && defined(H5_LLONG_TO_LDOUBLE_CORRECT)) || (!H5_WANT_DATA_ACCURACY)
-#define H5T_CONV_INTERNAL_LLONG_LDOUBLE 1
-#endif
-
-/* Define an internal macro for converting unsigned long long to long double. SGI compilers give
- * some incorect conversion. 64-bit Solaris does different rounding. Windows Visual Studio 6 does
- * not support unsigned long long. For FreeBSD(sleipnir), the last 2 bytes of mantissa are lost when
- * compiler tries to do the conversion. For Cygwin, compiler doesn't do rounding correctly.
- * Mac OS 10.4 gives some incorrect result. */
-#if (H5_WANT_DATA_ACCURACY && defined(H5_LLONG_TO_LDOUBLE_CORRECT)) || (!H5_WANT_DATA_ACCURACY)
-#define H5T_CONV_INTERNAL_ULLONG_LDOUBLE 1
-#endif
-
/* Statistics about a conversion function */
struct H5T_stats_t {
unsigned ncalls; /*num calls to conversion function */