diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-09-10 10:59:56 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-09-10 10:59:56 (GMT) |
commit | 982ec313d61fda25b3eb27f2c3193f7ca5201a31 (patch) | |
tree | 3c87bb67838825123a5f61ac52903e29f11acae7 /src/H5Tpkg.h | |
parent | f1c17f305426190dc7027bc63fcb4d28b90ba89d (diff) | |
download | hdf5-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 'src/H5Tpkg.h')
-rw-r--r-- | src/H5Tpkg.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/H5Tpkg.h b/src/H5Tpkg.h index 0b0cd61..e27d2c8 100644 --- a/src/H5Tpkg.h +++ b/src/H5Tpkg.h @@ -126,24 +126,6 @@ #define H5T_CONV_INTERNAL_ULLONG_LDOUBLE 1 #endif -/* Define an internal macro for converting long double to long long. SGI compilers give some incorrect - * conversions. Mac OS 10.4 gives incorrect conversions. HP-UX 11.00 compiler generates floating exception. - * The hard conversion on Windows .NET 2003 has a bug and gives wrong exception value. */ -#if (H5_WANT_DATA_ACCURACY && defined(H5_LDOUBLE_TO_LLONG_ACCURATE)) || \ - (!H5_WANT_DATA_ACCURACY) -#define H5T_CONV_INTERNAL_LDOUBLE_LLONG 1 -#endif - -/* Define an internal macro for converting long double to unsigned long long. SGI compilers give some - * incorrect conversions. Mac OS 10.4 gives incorrect conversions. HP-UX 11.00 compiler generates - * floating exception. */ -#if (H5_WANT_DATA_ACCURACY && defined(H5_LDOUBLE_TO_LLONG_ACCURATE)) || \ - (!H5_WANT_DATA_ACCURACY) -#define H5T_CONV_INTERNAL_LDOUBLE_ULLONG 1 -#else -#define H5T_CONV_INTERNAL_LDOUBLE_ULLONG 0 -#endif - /* Statistics about a conversion function */ struct H5T_stats_t { unsigned ncalls; /*num calls to conversion function */ |