mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 16:24:51 +00:00
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 #405
This commit is contained in:
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…
x
Reference in New Issue
Block a user