To get the 2s complement, find the 1s complement (by inverting the bits) and add 1.
Assuming that number is [4-bit] binary it would be 1000.
If it is preceded by 0s, as in, for example, 0000 1000, then it would be 1111 1000.
Chat with our AI personalities
4194304 = 222
-123 = 11 1000 0101 [I presume the number 123 is in decimal] First write the positive number in binary using 10 bits (I've split it into groups of 4 bits to make it easier to read): 123 = 00 0111 1011 Convert to 1s complement by inverting all bits (any 0 => 1, any 1 => 0): 00 0111 1011 => 11 1000 0100 Finally add 1 to get 2s complement: 11 1000 0100 + 1 = 11 1000 0101 Thus the 2s complement of the negative number: -123 = 11 1000 0101 This can also be expressed in hexadecimal: -123 = 0x385 Or in octal (easy to convert if the binary number is first written in groups of 3 bits): -123 = 1 110 000 101 = 01605 [I've used C notation for the hexadecimal and octal numbers.]
1000 is not a prime number
"1000% of a number" = 10 times the number
Yes, 1000 is a rational number.