Commit 39605a7965

Andrew Kelley <andrew@ziglang.org>
2019-02-25 22:36:18
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
1 parent 7b8c557
Changed files (1)
src/bigint.cpp
@@ -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 {