| ... | @@ -1665,7 +1665,6 @@ int64_t bigint_as_signed(const BigInt *bigint) { | ... | @@ -1665,7 +1665,6 @@ int64_t bigint_as_signed(const BigInt *bigint) { |
| 1665 | return 0; | 1665 | return 0; |
| 1666 | } else if (bigint->digit_count == 1) { | 1666 | } else if (bigint->digit_count == 1) { |
| 1667 | if (bigint->is_negative) { | 1667 | if (bigint->is_negative) { |
| 1668 | // TODO this code path is untested | | |
| 1669 | if (bigint->data.digit <= 9223372036854775808ULL) { | 1668 | if (bigint->data.digit <= 9223372036854775808ULL) { |
| 1670 | return (-((int64_t)(bigint->data.digit - 1))) - 1; | 1669 | return (-((int64_t)(bigint->data.digit - 1))) - 1; |
| 1671 | } else { | 1670 | } else { |