diff options
Diffstat (limited to 'gdb/doublest.c')
-rw-r--r-- | gdb/doublest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/doublest.c b/gdb/doublest.c index f683002..0308dac 100644 --- a/gdb/doublest.c +++ b/gdb/doublest.c @@ -483,7 +483,7 @@ convert_doublest_to_floatformat (CONST struct floatformat *fmt, goto finalize_byteorder; } - if (exponent + fmt->exp_bias >= (1 << fmt->exp_len) - 1) + if (exponent + fmt->exp_bias >= (1 << fmt->exp_len)) { /* The value is too large to fit into the destination. Treat as infinity. */ |