summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-08-17 13:50:08 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-08-17 14:25:37 -0400
commitb08e1c9b64352c88606f2aa5281fbc88a9be0ed8 (patch)
tree37d2116b12f0b6b4cf4306263d25735b926347eb /Configure
parentf7a48a8cf4bd1c2284879545eb4badd8d8c6faae (diff)
downloadperl-b08e1c9b64352c88606f2aa5281fbc88a9be0ed8.tar.gz
Little-endian double-double detection was wrong.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/Configure b/Configure
index 817b515d6d..aab3f03d3e 100755
--- a/Configure
+++ b/Configure
@@ -16017,8 +16017,9 @@ int main() {
#endif
#if LDBL_MANT_DIG == 106 && LONGDBLSIZE == 16
/* software "double double", the 106 is 53+53 */
- if (b[0] == 0xCD && b[7] == 0x3C && b[8] == 0x9A && b[15] == 0xBF) {
- /* double double 128-bit little-endian */
+ if (b[0] == 0x9A && b[7] == 0x3C && b[8] == 0x9A && b[15] == 0xBF) {
+ /* double double 128-bit little-endian,
+ * 9a 99 99 99 99 99 59 3c 9a 99 99 99 99 99 b9 bf */
printf("5\n");
exit(0);
}