From: Jarkko Hietaniemi Date: Mon, 11 Jun 2001 14:46:33 +0000 (+0000) Subject: Add the modfl_pow32_bug (anti)definition also to VOS headers. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=60441da28683c126db80bde5b2b8b45460537070;p=p5sagit%2Fp5-mst-13.2.git Add the modfl_pow32_bug (anti)definition also to VOS headers. p4raw-id: //depot/perl@10516 --- diff --git a/vos/config.alpha.h b/vos/config.alpha.h index 0f97851..1b560b4 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 5d0680e..7afd9a3 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