| ... | @@ -320,6 +320,7 @@ static void end_float_token(Tokenize *t) { | ... | @@ -320,6 +320,7 @@ static void end_float_token(Tokenize *t) { |
| 320 | t->exponent_in_bin_or_dec += significand_magnitude_in_bin; | 320 | t->exponent_in_bin_or_dec += significand_magnitude_in_bin; |
| 321 | if (!(-1023 <= t->exponent_in_bin_or_dec && t->exponent_in_bin_or_dec < 1023)) { | 321 | if (!(-1023 <= t->exponent_in_bin_or_dec && t->exponent_in_bin_or_dec < 1023)) { |
| 322 | t->cur_tok->data.num_lit.overflow = true; | 322 | t->cur_tok->data.num_lit.overflow = true; |
| | 323 | return; |
| 323 | } else { | 324 | } else { |
| 324 | // this should chop off exactly one 1 bit from the top. | 325 | // this should chop off exactly one 1 bit from the top. |
| 325 | significand_bits = ((uint64_t)significand << (52 - significand_magnitude_in_bin)) & 0xfffffffffffffULL; | 326 | significand_bits = ((uint64_t)significand << (52 - significand_magnitude_in_bin)) & 0xfffffffffffffULL; |