From 60441da28683c126db80bde5b2b8b45460537070 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Mon, 11 Jun 2001 14:46:33 +0000 Subject: Add the modfl_pow32_bug (anti)definition also to VOS headers. p4raw-id: //depot/perl@10516 --- vos/config.alpha.h | 8 ++++++++ vos/config.ga.h | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'vos') 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 -- cgit v1.2.1