summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vos/config.alpha.h8
-rw-r--r--vos/config.ga.h8
2 files changed, 16 insertions, 0 deletions
diff --git a/vos/config.alpha.h b/vos/config.alpha.h
index 0f97851d28..1b560b40bd 100644
--- a/vos/config.alpha.h
+++ b/vos/config.alpha.h
@@ -1776,7 +1776,15 @@
* available to split a long double x into a fractional part f and
* an integer part i such that |f| < 1.0 and (f + i) = x.
*/
+/* HAS_MODFL_POW32_BUG:
+ * This symbol, if defined, indicates that the modfl routine is
+ * broken for long doubles >= pow(2, 32).
+ * For example from 4294967303.150000 one would get 4294967302.000000
+ * and 1.150000. The bug has been seen in certain versions of glibc,
+ * release 2.2.2 is known to be okay.
+ */
/*#define HAS_MODFL /**/
+/*#define HAS_MODFL_POW32_BUG /**/
/* HAS_MPROTECT:
* This symbol, if defined, indicates that the mprotect system call is
diff --git a/vos/config.ga.h b/vos/config.ga.h
index 5d0680ea1d..7afd9a30f9 100644
--- a/vos/config.ga.h
+++ b/vos/config.ga.h
@@ -1776,7 +1776,15 @@
* available to split a long double x into a fractional part f and
* an integer part i such that |f| < 1.0 and (f + i) = x.
*/
+/* HAS_MODFL_POW32_BUG:
+ * This symbol, if defined, indicates that the modfl routine is
+ * broken for long doubles >= pow(2, 32).
+ * For example from 4294967303.150000 one would get 4294967302.000000
+ * and 1.150000. The bug has been seen in certain versions of glibc,
+ * release 2.2.2 is known to be okay.
+ */
/*#define HAS_MODFL /**/
+/*#define HAS_MODFL_POW32_BUG /**/
/* HAS_MPROTECT:
* This symbol, if defined, indicates that the mprotect system call is