delete incorrect TODO comment
The code path is tested by behavior tests. Thanks to various contributors, but mostly Marc Tiehuis, bigint.cpp now has full coverage. closes #405master
parent
7b8c5578c6
commit
39605a7965
|
@ -1665,7 +1665,6 @@ int64_t bigint_as_signed(const BigInt *bigint) {
|
|||
return 0;
|
||||
} else if (bigint->digit_count == 1) {
|
||||
if (bigint->is_negative) {
|
||||
// TODO this code path is untested
|
||||
if (bigint->data.digit <= 9223372036854775808ULL) {
|
||||
return (-((int64_t)(bigint->data.digit - 1))) - 1;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue