|
Negatives in Binary
I'm reading a book on Fortran 90/95 right now, and I was wondering, in general math, how would you go about making a binary number negative without a given bit length? For example, how would I know 1110111101 was -67 rather than 957? I remember something about the leftmost bit being 1, it's negative, and if it's 0, it's positive. But how would I know if 1011 is 11 or -5?
|