Closed computablee closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
33a8e90
) 99.22% compared to head (708a1ff
) 99.22%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Which issue are you addressing?
Optimizes the PR #118
How have you addressed the issue?
Instead of weird casting and
Unsafe.As
, we simply invert the bits, add 1, then atomically add. This is in-line with 2's compliment arithmetic.How have you tested your patch?
This is the first PR whose changes have been formally verified with a proof assistant. Of course, the unit tests still pass :)