You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add implementations of Add, Sub, CheckedSub and CheckedAdd for Uints. These are common functions one needs when working with Uints. Currently there only exists AddMany
CheckedAdd and CheckedSub should be unsatisfiable if there is an overflow. I think the simplest checked arithmetic implementation would be to just compute the final carry bit and ensure its 0
(The checked and non-checked methods can be implemented in separate PRs!)
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary
We should add implementations of
Add
,Sub
,CheckedSub
andCheckedAdd
for Uints. These are common functions one needs when working with Uints. Currently there only existsAddMany
CheckedAdd and CheckedSub should be unsatisfiable if there is an overflow. I think the simplest checked arithmetic implementation would be to just compute the final carry bit and ensure its 0
(The checked and non-checked methods can be implemented in separate PRs!)
For Admin Use
The text was updated successfully, but these errors were encountered: