Closed ganewto closed 1 year ago
Maybe update your Related Issue to verb Fix to allow auto close of issue 299 once the pull request being merged.
E.g.
Fix #299
I made a one-line change that fixes the original test. I haven't made tests for the other observations on the 64-bit boundary,
Description & Motivation
Adds two tests for wide bitvector comparisons. Adds a fix for one of them. The remaining problem is that shifting a 1 into the signed position and then converting to bigint results in a negative number regardless.
Related Issue(s)
Fix #299
Testing
Created two tests that do comparisons. One just breaks the length check. The other puts a 1 in the sign location just before conversion to BigInt (the fix for the first).
Backwards-compatibility
The change is in the core logic comparison operation so more tests may be needed.
Documentation
No