One of the methods is signed integer For example a 16 bit signed integer 0000 0000 0000 0001 = 1, whereas 1000 0000 0000 0001 = -1 Another method of representing integers is called 2's complement Google it. You may also Google "Floating Point" to see how real numbers with decimal points, both positive or negative, are represented
Chat with our AI personalities