Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Are all the 8-bit binary numbers at the beginning of 1 negative?
Are all the 8-bit binary numbers at the beginning of 1 negative?
it depends on how many bits your operating system is. If it is 8-bit, 1111 1111 is -1; if it is 16-bit FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 11 is a positive number in 8-bit and above operating systems.

before judging whether a number is positive or negative, first judge the number of digits in his system. Under a certain operating system, the number starting with the highest digit of 1 is negative.