2003-09-15 Andrew Cagney <cagney@redhat.com>
* doublest.c (convert_floatformat_to_doublest): No longer need to cast "exp_bias" to an int. Reverts 2002-12-04 change.
This commit is contained in:
parent
a58f15343c
commit
1c704f1122
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-09-15 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* doublest.c (convert_floatformat_to_doublest): No longer need to
|
||||
cast "exp_bias" to an int. Reverts 2002-12-04 change.
|
||||
|
||||
2003-09-15 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* values.c (unpack_double): Call floatformat_is_valid.
|
||||
|
|
|
@ -180,7 +180,7 @@ convert_floatformat_to_doublest (const struct floatformat *fmt,
|
|||
if (!special_exponent)
|
||||
exponent -= fmt->exp_bias;
|
||||
else if (exponent == 0)
|
||||
exponent = 1 - (int) fmt->exp_bias;
|
||||
exponent = 1 - fmt->exp_bias;
|
||||
|
||||
/* Build the result algebraically. Might go infinite, underflow, etc;
|
||||
who cares. */
|
||||
|
|
Loading…
Reference in a new issue