summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-03-01 20:16:02 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2015-06-12 09:57:35 -0400
commit5a14060af165c24c63cfc5d5f4d2aeb52cc41a03 (patch)
tree26db0d9bb4b48117522fb2628129bdc65007a454 /config_h.SH
parentf37aa82892bb09ff8e8c3d28b173de5d2f60d2a4 (diff)
downloadperl-5a14060af165c24c63cfc5d5f4d2aeb52cc41a03.tar.gz
infnan: move the mantbits definitions from perl.h to Configure
(this way they will be available via %Config)
Diffstat (limited to 'config_h.SH')
-rwxr-xr-xconfig_h.SH7
1 files changed, 7 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index 6ae8fe2394..0701a42141 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -4877,6 +4877,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#define LONGDBLMANTBITS $longdblmantbits
+/* NVMANTBITS:
+ * This symbol, if defined, tells how many mantissa bits
+ * (not including implicit bit) there are in a Perl NV.
+ * This depends on which floating point type was chosen.
+ */
+#define NVMANTBITS $nvmantbits /**/
+
/* NEED_VA_COPY:
* This symbol, if defined, indicates that the system stores
* the variable argument list datatype, va_list, in a format