Open carado opened 2 months ago
wrapping_neg has the correct behavior, and avoids - num from overflowing in debug builds when num == i64::MIN.
wrapping_neg
- num
num == i64::MIN
wrapping_neg
has the correct behavior, and avoids- num
from overflowing in debug builds whennum == i64::MIN
.