summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-08-10 19:46:12 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-08-13 22:20:16 -0400
commitdc91db6cfbf31ad1bbc0d43f7c74251f6411d2d2 (patch)
treeeae92263b65fc3449f1529b76b17e2ca1287ca4c /Porting
parentf4ef132eeaba0ed558de187afbee10205ae09a38 (diff)
downloadperl-dc91db6cfbf31ad1bbc0d43f7c74251f6411d2d2.tar.gz
Configure scan for the kind of long double we have
(Somewhat like quadkind, but for the format of the long double)
Diffstat (limited to 'Porting')
-rw-r--r--Porting/Glossary7
-rw-r--r--Porting/config.sh1
2 files changed, 8 insertions, 0 deletions
diff --git a/Porting/Glossary b/Porting/Glossary
index 67e87d655a..99cef06a97 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -3796,6 +3796,13 @@ loclibpth (libpth.U):
libraries. It is prepended to libpth, and is intended to be easily
set from the command line.
+longdblkind (longdblkind.U):
+ This variable, if defined, encodes the type of a long double:
+ 0 = double, 1 = IEEE 754 128-bit big little endian,
+ 2 = IEEE 754 128-bit big big endian, 3 = x86 80-bit little endian,
+ 4 = x86 80-bit big endian, 5 = double-double 128-bit little endian,
+ 6 = double-double 128-bit big endian, -1 = unknown format.
+
longdblsize (d_longdbl.U):
This variable contains the value of the LONG_DOUBLESIZE symbol, which
indicates to the C program how many bytes there are in a long double,
diff --git a/Porting/config.sh b/Porting/config.sh
index 29d14f326c..1c30d0862b 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -813,6 +813,7 @@ lns='/usr/bin/ln -s'
localtime_r_proto='0'
locincpth='/pro/local/include'
loclibpth='/pro/local/lib'
+longdblkind='3'
longdblsize='12'
longlongsize='8'
longsize='4'