Yep. This is a hack that should not be allowed.
If yo want to use it, you should create your own type, with explicit modular arithmetic. Not try to ride architectural dependent assumptions.
https://doc.rust-lang.org/std/num/struct.Wrapping.html
Yep. This is a hack that should not be allowed.
If yo want to use it, you should create your own type, with explicit modular arithmetic. Not try to ride architectural dependent assumptions.