You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, to assert that addition doesn't overflow, we
add_cy(s, cy, a, b);
assert(digit::is_zero(cy));
If NDEBUG is not set, then this checks that overflow hasn't occurred. If NDEBUG is set, it's possible (need to verify) that some carry handling code is generated; this is wasteful as it isn't used.
The text was updated successfully, but these errors were encountered:
Currently, to assert that addition doesn't overflow, we
If
NDEBUG
is not set, then this checks that overflow hasn't occurred. IfNDEBUG
is set, it's possible (need to verify) that some carry handling code is generated; this is wasteful as it isn't used.The text was updated successfully, but these errors were encountered: