2 ms·
> 1) Two's complement wrapping (even in debug builds) As it's a relatively common need, there's also a wrapper struct for this one: https://doc.rust-lang.org/c
by masklinn 9y ago
> 1) Two's complement wrapping (even in debug builds)
As it's a relatively common need, there's also a wrapper struct for this one: https://doc.rust-lang.org/core/num/struct.Wrapping.html https://doc.rust-lang.org/core/num/struct.Wrapping.html