summaryrefslogtreecommitdiff
path: root/win32/config_H.vc
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/config_H.vc
parent44521f3a1782026b7d25cc55af459c3e28cc9bdd (diff)
downloadperl-ed3917fd69b234bb5614cb9aed93d62238e3dcb8.tar.gz
infnan: Configure scan for fp mantissa bytes
Diffstat (limited to 'win32/config_H.vc')
-rw-r--r--win32/config_H.vc19
1 files changed, 19 insertions, 0 deletions
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.