diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2015-06-10 22:05:48 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-06-12 09:57:16 -0400 |
commit | ed3917fd69b234bb5614cb9aed93d62238e3dcb8 (patch) | |
tree | b0af6a15d9b39773de1a885aa623d3dcc7d8766e /config_h.SH | |
parent | 44521f3a1782026b7d25cc55af459c3e28cc9bdd (diff) | |
download | perl-ed3917fd69b234bb5614cb9aed93d62238e3dcb8.tar.gz |
infnan: Configure scan for fp mantissa bytes
Diffstat (limited to 'config_h.SH')
-rwxr-xr-x | config_h.SH | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH index 11603a7c9f..6ae8fe2394 100755 --- a/config_h.SH +++ b/config_h.SH @@ -4858,6 +4858,25 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un #define LONGDBLINFBYTES $longdblinfbytes /**/ #define LONGDBLNANBYTES $longdblnanbytes /**/ +/* DOUBLEMANTBITS: + * This symbol, if defined, tells how many mantissa bits + * there are in double precision floating point format. + * Note that this is usually DBL_MANT_DIG minus one, since + * with the standard IEEE 754 formats DBL_MANT_DIG includes + * the implicit bit, which doesn't really exist. + */ +#define DOUBLEMANTBITS $doublemantbits + +/* LONGDBLMANTBITS: + * This symbol, if defined, tells how many mantissa bits + * there are in long double precision floating point format. + * Note that this can be LDBL_MANT_DIG minus one, + * since LDBL_MANT_DIG can include the IEEE 754 implicit bit. + * The common x86-style 80-bit long double does not have + * an implicit bit. + */ +#define LONGDBLMANTBITS $longdblmantbits + /* NEED_VA_COPY: * This symbol, if defined, indicates that the system stores * the variable argument list datatype, va_list, in a format |