Would the same methods work if both the numbers were positive? What if one of the numbers were positive and the other negative?