diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2015-12-16 21:57:31 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-12-18 07:21:03 -0500 |
commit | 157a0ac7a2e2f56bd291b87c343712def4a1acfb (patch) | |
tree | d68a9e6017a7d21248b1165c04dc36d7901541a2 /Configure | |
parent | 1c27387306f6b9c92ba951acd5641e71039e8352 (diff) | |
download | perl-157a0ac7a2e2f56bd291b87c343712def4a1acfb.tar.gz |
Configure: notes on the m68881 extended precision format
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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); } |