summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-06-10 22:05:48 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2015-06-12 09:57:16 -0400
commited3917fd69b234bb5614cb9aed93d62238e3dcb8 (patch)
treeb0af6a15d9b39773de1a885aa623d3dcc7d8766e /win32
parent44521f3a1782026b7d25cc55af459c3e28cc9bdd (diff)
downloadperl-ed3917fd69b234bb5614cb9aed93d62238e3dcb8.tar.gz
infnan: Configure scan for fp mantissa bytes
Diffstat (limited to 'win32')
-rw-r--r--win32/config.ce2
-rw-r--r--win32/config.gc2
-rw-r--r--win32/config.vc2
-rw-r--r--win32/config_H.ce19
-rw-r--r--win32/config_H.gc19
-rw-r--r--win32/config_H.vc19
6 files changed, 63 insertions, 0 deletions
diff --git a/win32/config.ce b/win32/config.ce
index f6fe8e5af5..7ee16c6ef9 100644
--- a/win32/config.ce
+++ b/win32/config.ce
@@ -601,6 +601,7 @@ dlext='dll'
dlsrc='dl_win32.xs'
doubleinfbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f'
doublekind='3'
+doublemantbits='52'
doublenanbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x7f'
doublesize='8'
drand01='Perl_drand48()'
@@ -823,6 +824,7 @@ locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/inclu
loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
longdblinfbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f'
longdblkind='3'
+longdblmantbits='64'
longdblnanbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x7f'
longdblsize='10'
longlongsize='8'
diff --git a/win32/config.gc b/win32/config.gc
index 185d96b478..f34d8ec4f7 100644
--- a/win32/config.gc
+++ b/win32/config.gc
@@ -603,6 +603,7 @@ dlltool='~ARCHPREFIX~dlltool'
dlsrc='dl_win32.xs'
doubleinfbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f'
doublekind='3'
+doublemantbits='52'
doublenanbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x7f'
doublesize='8'
drand01='Perl_drand48()'
@@ -850,6 +851,7 @@ locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/inclu
loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
longdblinfbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00'
longdblkind='3'
+longdblmantbits='64'
longdblnanbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x7f, 0x00, 0x00'
longdblsize='12'
longlongsize='8'
diff --git a/win32/config.vc b/win32/config.vc
index 26898446c8..549c14097b 100644
--- a/win32/config.vc
+++ b/win32/config.vc
@@ -602,6 +602,7 @@ dlext='dll'
dlsrc='dl_win32.xs'
doubleinfbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f'
doublekind='3'
+doublemantbits='52'
doublenanbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x7f'
doublesize='8'
drand01='Perl_drand48()'
@@ -849,6 +850,7 @@ locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/inclu
loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
longdblinfbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f'
longdblkind='0'
+longdblmantbits='52'
longdblnanbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x7f'
longdblsize='8'
longlongsize='8'
diff --git a/win32/config_H.ce b/win32/config_H.ce
index c4de904e5d..1766a958f0 100644
--- a/win32/config_H.ce
+++ b/win32/config_H.ce
@@ -2737,6 +2737,25 @@
#define LONGDBLINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f /**/
#define LONGDBLNANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x7f /**/
+/* 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 52
+
+/* 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 52
+
/* EBCDIC:
* This symbol, if defined, indicates that this system uses
* EBCDIC encoding.
diff --git a/win32/config_H.gc b/win32/config_H.gc
index a442cd0573..a9c61629a8 100644
--- a/win32/config_H.gc
+++ b/win32/config_H.gc
@@ -2692,6 +2692,25 @@
#define LONGDBLINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00 /**/
#define LONGDBLNANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x7f, 0x00, 0x00 /**/
+/* 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 52
+
+/* 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 64
+
/* EBCDIC:
* This symbol, if defined, indicates that this system uses
* EBCDIC encoding.
diff --git a/win32/config_H.vc b/win32/config_H.vc
index 77e38f8a74..e945b3f42d 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -2684,6 +2684,25 @@
#define LONGDBLINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f /**/
#define LONGDBLNANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x7f /**/
+/* 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 52
+
+/* 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 52
+
/* EBCDIC:
* This symbol, if defined, indicates that this system uses
* EBCDIC encoding.