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