summaryrefslogtreecommitdiff
path: root/vos
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-11 14:46:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-11 14:46:33 +0000
commit60441da28683c126db80bde5b2b8b45460537070 (patch)
tree28a59591cef7a30056c7bd2bc3caf4a7a99cba00 /vos
parent0d6ca59a79657354b4438c5024ce2aa3d9375c81 (diff)
downloadperl-60441da28683c126db80bde5b2b8b45460537070.tar.gz
Add the modfl_pow32_bug (anti)definition also to VOS headers.
p4raw-id: //depot/perl@10516
Diffstat (limited to 'vos')
-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