3 ms·
Overflow panics in debug, two's compliment wrapping in release. You can choose a more specific behavior by using specific APIs if you want something specific fo
by steveklabnik 5y ago
Overflow panics in debug, two's compliment wrapping in release. You can choose a more specific behavior by using specific APIs if you want something specific for overflow in release. In the future, it may be panic-ing in release too. We'll see if the checks get cheap enough.
- deleted 5y ago[deleted]