fend icon indicating copy to clipboard operation
fend copied to clipboard

Is there twos complement boolean representation for signed integers?

Open krishnakumarg1984 opened this issue 1 year ago • 2 comments

Consider the binary value 1011 0100. Its decimal conversion would be:

  • 180 if it is an unsigned binary number
  • -76 if this is a signed binary number using standard two’s complement arithmetic.

Is there a way to instruct fend about this?

krishnakumarg1984 avatar Jun 12 '23 18:06 krishnakumarg1984