Binary Addition. Is it overflow?
Posted
by xbonez
on Stack Overflow
See other posts from Stack Overflow
or by xbonez
Published on 2010-04-27T23:37:34Z
Indexed on
2010/04/27
23:43 UTC
Read the original article
Hit count: 243
binary
Binary values are in 2s Complement form.
If I am to add 110001 (-15) and 101110 (-18), and the answer has to be stored in a 6-bit integer, is this an underflow/overflow.
© Stack Overflow or respective owner