-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.
Description
I had this question on the currently unreleased #![feature(bigint_helper_methods)] #85532; on signed carry (probably applies to substraction too ?); I have this test failing with the current code:
assert_eq!(i8::MAX.carrying_add(i8::MIN, true), (0, false));Is the test correct ? A carry did happen in an intermediate calculation, but should the overall calculation report a carry ?
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.