This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a6ab0
)
Add NV_MANT_REAL_DIG.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 1 Feb 2015 00:02:22 +0000
(19:02 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 2 Feb 2015 22:02:57 +0000
(17:02 -0500)
perl.h
patch
|
blob
|
blame
|
history
diff --git
a/perl.h
b/perl.h
index
13bb7ff
..
f5c64d4
100644
(file)
--- a/
perl.h
+++ b/
perl.h
@@
-6482,6
+6482,15
@@
extern void moncontrol(int);
# endif
#endif
+/* The implicit bit platforms include the implicit bit
+ * in the NV_MANT_DIG. The bit isn't really there, however,
+ * so the real count of mantissa bits is one less. */
+#ifdef NV_IMPLICIT_BIT
+# define NV_MANT_REAL_DIG (NV_MANT_DIG - 1)
+#else
+# define NV_MANT_REAL_DIG
+#endif
+
/*
(KEEP THIS LAST IN perl.h!)