summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5private.h b/src/H5private.h
index c2eecd4..d5985cb 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -379,10 +379,11 @@ typedef double float32;
# error "nothing appropriate for float32"
#endif
-#if SIZEOF_FLOAT>=8
-typedef float float64;
-#elif SIZEOF_DOUBLE>=8
+/* Bias float64 toward using double - QAK */
+#if SIZEOF_DOUBLE>=8
typedef double float64;
+#elif SIZEOF_FLOAT>=8
+typedef float float64;
#else
# error "nothing appropriate for float64"
#endif