diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2015-03-24 22:10:02 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2015-03-24 22:10:02 (GMT) |
commit | 5d9c34406afad17f64a8feb8d5b46114286989f0 (patch) | |
tree | e4803ddf0491acbd1bc62404142cfbd94c6479e6 /src | |
parent | 08d0edb920ae93f4d2494831479ad6200ff208b5 (diff) | |
download | hdf5-5d9c34406afad17f64a8feb8d5b46114286989f0.zip hdf5-5d9c34406afad17f64a8feb8d5b46114286989f0.tar.gz hdf5-5d9c34406afad17f64a8feb8d5b46114286989f0.tar.bz2 |
[svn-r26561] Description:
Bring r26491 from trunk to 1.8 branch:
Bring r26257 from autotools_rework branch back to the trunk - removes
the LDOUBLE_TO_INTEGER_ACCURATE macro/define, which was addressing problems
with SGI systems and is no longer supported.
Tested on:
Linux/32 2.6.18 (jam) w/serial & parallel
Daily tested on branch for >2 weeks.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Tpkg.h | 8 | ||||
-rw-r--r-- | src/H5config.h.in | 3 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/H5Tpkg.h b/src/H5Tpkg.h index bd37829..39791e0 100644 --- a/src/H5Tpkg.h +++ b/src/H5Tpkg.h @@ -179,7 +179,7 @@ /* Define an internal macro for converting long double to all integers. SGI compilers give some incorrect * conversions. HP-UX 11.00 compiler generates floating exception. */ -#if (H5_WANT_DATA_ACCURACY && H5_LDOUBLE_TO_INTEGER_ACCURATE && H5_LDOUBLE_TO_INTEGER_WORKS) || \ +#if (H5_WANT_DATA_ACCURACY && H5_LDOUBLE_TO_INTEGER_WORKS) || \ (!H5_WANT_DATA_ACCURACY && H5_LDOUBLE_TO_INTEGER_WORKS) #define H5T_CONV_INTERNAL_LDOUBLE_INTEGER 1 #endif @@ -187,7 +187,7 @@ /* Define an internal macro for converting long double to unsigned int. SGI compilers give some incorrect * conversions. HP-UX 11.00 compiler generates floating exception. Some Intel compilers on some Linux * give incorrect values. */ -#if (H5_WANT_DATA_ACCURACY && H5_LDOUBLE_TO_INTEGER_ACCURATE && H5_LDOUBLE_TO_UINT_ACCURATE && \ +#if (H5_WANT_DATA_ACCURACY && H5_LDOUBLE_TO_UINT_ACCURATE && \ H5_LDOUBLE_TO_INTEGER_WORKS) || (!H5_WANT_DATA_ACCURACY && H5_LDOUBLE_TO_INTEGER_WORKS) #define H5T_CONV_INTERNAL_LDOUBLE_UINT 1 #endif @@ -201,7 +201,7 @@ /* 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_HW_FP_TO_LLONG_NOT_WORKS) && H5_LDOUBLE_TO_INTEGER_ACCURATE && \ +#if (H5_WANT_DATA_ACCURACY && !defined(H5_HW_FP_TO_LLONG_NOT_WORKS) && \ H5_LDOUBLE_TO_INTEGER_WORKS && defined(H5_LDOUBLE_TO_LLONG_ACCURATE)) || \ (!H5_WANT_DATA_ACCURACY && !defined(H5_HW_FP_TO_LLONG_NOT_WORKS) && H5_LDOUBLE_TO_INTEGER_WORKS) #define H5T_CONV_INTERNAL_LDOUBLE_LLONG 1 @@ -220,7 +220,7 @@ /* 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 && H5_LDOUBLE_TO_INTEGER_ACCURATE && H5_LDOUBLE_TO_INTEGER_WORKS && \ +#if (H5_WANT_DATA_ACCURACY && H5_LDOUBLE_TO_INTEGER_WORKS && \ H5_FP_TO_ULLONG_ACCURATE && defined(H5_FP_TO_ULLONG_RIGHT_MAXIMUM) && defined(H5_LDOUBLE_TO_LLONG_ACCURATE)) || \ (!H5_WANT_DATA_ACCURACY && H5_LDOUBLE_TO_INTEGER_WORKS) #define H5T_CONV_INTERNAL_LDOUBLE_ULLONG 1 diff --git a/src/H5config.h.in b/src/H5config.h.in index a2fa0ad..d9aef37 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -386,9 +386,6 @@ values. */ #undef INTEGER_TO_LDOUBLE_ACCURATE -/* Define if your system can convert long double to integers accurately. */ -#undef LDOUBLE_TO_INTEGER_ACCURATE - /* Define if your system can convert from long double to integer values. */ #undef LDOUBLE_TO_INTEGER_WORKS |