mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 17:50:04 +01:00
[poincare] Integer: fix and add tests on Integer::Subtraction
This commit is contained in:
@@ -581,7 +581,7 @@ Integer Integer::addition(const Integer & a, const Integer & b, bool inverseBNeg
|
||||
us.setNegative(a.sign() == ExpressionNode::Sign::Negative);
|
||||
return us;
|
||||
} else {
|
||||
Integer us = IntegerNode::usum(a.node(), b.node(), true);
|
||||
Integer us = IntegerNode::usum(b.node(), a.node(), true);
|
||||
us.setNegative(bNegative);
|
||||
return us;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user