Chat with our AI personalities
The answer depends on which binary operation you mean when you say "combining". Addition, subtraction, multiplication, division, exponentiation, etc.
The value of the quotient of two integers with different signs is the same as if the signs were the same. Because the numbers have different signs, the quotient is negative.
To add two integers with unlike signs: -- Find the difference between their sizes, ignoring their signs. -- Give the difference the sign of the integer with the larger size.
-- Ignore the signs for a moment. -- Find the difference of the two integers. -- Give it the sign of whichever integer is the bigger number.
They become positive integers for instance - - 2 = 2