summaryrefslogtreecommitdiff
path: root/configure.com
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 /configure.com
parent44521f3a1782026b7d25cc55af459c3e28cc9bdd (diff)
downloadperl-ed3917fd69b234bb5614cb9aed93d62238e3dcb8.tar.gz
infnan: Configure scan for fp mantissa bytes
Diffstat (limited to 'configure.com')
-rw-r--r--configure.com4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.com b/configure.com
index 9600757523..6e05e90ddb 100644
--- a/configure.com
+++ b/configure.com
@@ -3663,6 +3663,7 @@ $ longdblsize="0"
$ longdblkind="0"
$ longdblinfbytes="undef"
$ longdblnanbytes="undef"
+$ longdblmantbits="undef"
$ d_longdbl="undef"
$ echo "You do not have long double."
$ ELSE
@@ -3673,6 +3674,7 @@ $ longdblsize = tmp
$ longdblkind = "1"
$ longdblinfbytes="0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f"
$ longdblnanbytes="0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff"
+$ longdblmantbits="112"
$ d_longdbl = "define"
$ echo "Your long doubles are ''longdblsize' bytes long."
$ ENDIF
@@ -5573,6 +5575,7 @@ $ i64size="undef"
$ u64size="undef"
$ ENDIF
$!
+$ doublemantbits = "52"
$ IF uselongdouble .OR. uselongdouble .EQS. "define"
$ THEN
$ nvtype="long double"
@@ -6478,6 +6481,7 @@ $ WC "dlsrc='dl_vms.xs'"
$ WC "doublekind='3'"
$ WC "doubleinfbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f'"
$ WC "doublenanbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x7f'"
+$ WC "doublemantbits='" + doublemantbits + "'"
$ WC "doublesize='" + doublesize + "'"
$ WC "drand01='" + drand01 + "'"
$ WC "dtrace='" + "'"