summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2005-01-11 18:17:01 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2005-01-11 18:17:01 (GMT)
commita985c4c52596924c1cb5020ac514163c46e4ff79 (patch)
treef210749d5adec2791265434da4e3e765ebc877b1 /src
parent76ba1a99d30f5808b08214ef07019672694b73da (diff)
downloadhdf5-a985c4c52596924c1cb5020ac514163c46e4ff79.zip
hdf5-a985c4c52596924c1cb5020ac514163c46e4ff79.tar.gz
hdf5-a985c4c52596924c1cb5020ac514163c46e4ff79.tar.bz2
[svn-r9807] Purpose: bug fix
Description: For FreeBSD (sleipnir), when GNU compilers do conversion from unsigned long long to long double, the last 2 bytes of mantissa are lost. The impact of precision loss isn't significant. Solution: Detect this case on FreeBSD in configure, ignore it in dtypes.c test instead of return failure. Platforms tested: sleipnir, fuss, modi4. These systems are mainly concerned.
Diffstat (limited to 'src')
-rw-r--r--src/H5config.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in
index d7f27f9..aa30b7b 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -545,6 +545,10 @@
casts. */
#undef ULLONG_TO_FP_CAST_WORKS
+/* Define if your system can convert unsigned long long to long double with
+ correct precision. */
+#undef ULLONG_TO_LDOUBLE_PRECISION_WORKS
+
/* Define if the HDF5 v1.6 compatibility functions are to be compiled in */
#undef WANT_H5_V1_6_COMPAT