I had no idea that 1111..1111 was the smallest negative integer as opposed to 1000..0001.
How did I not know that after nearly 25 years of programming? I must be dumb.
How did I not know that after nearly 25 years of programming? I must be dumb.
The lowest negative integer is still 1000…0000, though.
1000…0000 is the minimum.
111..11111 = -1 (for Nbit) 100..00000 = -2147483648 (for 32bit)
Therefore 11...1 is smaller than 100...01? Maybe I am dumb and missing something? Can anyone help?