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
This should be reasonably do-able but it would be good to know a bit more about what you want. Are you using the internal back-end or an SMT solver? Do you want signed or unsigned? Do you have a particular implementation / system in mind? What about the edge cases involving the limit value(s); what is LIMIT * 0, what is LIMIT / 0 or 0 / LIMIT?
Activity
martin-cs commentedon Feb 19, 2021
This should be reasonably do-able but it would be good to know a bit more about what you want. Are you using the internal back-end or an SMT solver? Do you want signed or unsigned? Do you have a particular implementation / system in mind? What about the edge cases involving the limit value(s); what is LIMIT * 0, what is LIMIT / 0 or 0 / LIMIT?
peterschrammel commentedon Feb 19, 2021
@danielsn, can you give a code example of a use case?
martin-cs commentedon Feb 21, 2021
Note that #5405 would give a relatively simple and probably pretty good route to implementing them.
danielsn commentedon Feb 26, 2021
I'm trying to implement operations like these:
I'm trying to implement these:
https://doc.rust-lang.org/std/intrinsics/fn.saturating_add.html
https://doc.rust-lang.org/std/intrinsics/fn.saturating_sub.html
https://doc.rust-lang.org/std/primitive.u32.html#method.saturating_mul
Add saturating addition/subtraction