← Back to context Comment by eru 11 hours ago For unsigned ints, or also for signed ints? 3 comments eru Reply account42 9 hours ago Two's complement is a representation specifically for signed integers. dmitrygr 11 hours ago For signed. Unsigned overflow was defined for a while now. gblargg 8 hours ago And unsigned negation is two's complement negation as well (-u = 0-u).
dmitrygr 11 hours ago For signed. Unsigned overflow was defined for a while now. gblargg 8 hours ago And unsigned negation is two's complement negation as well (-u = 0-u).
Two's complement is a representation specifically for signed integers.
For signed. Unsigned overflow was defined for a while now.
And unsigned negation is two's complement negation as well (-u = 0-u).