summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-12-16 21:57:31 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2015-12-18 07:21:03 -0500
commit157a0ac7a2e2f56bd291b87c343712def4a1acfb (patch)
treed68a9e6017a7d21248b1165c04dc36d7901541a2 /Configure
parent1c27387306f6b9c92ba951acd5641e71039e8352 (diff)
downloadperl-157a0ac7a2e2f56bd291b87c343712def4a1acfb.tar.gz
Configure: notes on the m68881 extended precision format
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure10
1 files changed, 9 insertions, 1 deletions
diff --git a/Configure b/Configure
index 2a4ee8c7a7..0e71b4bc7f 100755
--- a/Configure
+++ b/Configure
@@ -6967,7 +6967,15 @@ int main() {
exit(0);
}
if (b[0] == 0xBF && b[9] == 0xCD) {
- /* is there ever big-endian 80-bit, really? */
+ /* Is there ever big-endian 80-bit, really?
+ *
+ * The Motorola 68881 had another "extended precision" format:
+ * sign:1 exp:15 zero:16 integer:1 mantissa:63
+ * for total of 96 bits of bytes. The zero bits were unused.
+ * See "M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL" for more details.
+ * If it ever becomes relevant, this format should be allocated
+ * a new doublekind code since it's quite different from the Intel x87.
+ */
printf("4\n");
exit(0);
}