Detab beast

This commit is contained in:
Howard Hinnant
2014-10-14 17:27:16 -04:00
committed by Tom Ritchford
parent f034b02b92
commit 75c8d7aa57
9 changed files with 200 additions and 200 deletions

View File

@@ -154,14 +154,14 @@ void subtract_integer(integer left, integer right, integer result) {
double_component_t lhs = left.c[i];
double_component_t rhs = (i < right.num_components) ? right.c[i] : 0;
if (borrow) {
if (lhs <= rhs) {
/* leave borrow set to 1 */
lhs += (MAX_COMPONENT + 1) - 1;
} else {
borrow = 0;
lhs--;
}
}
if (lhs <= rhs) {
/* leave borrow set to 1 */
lhs += (MAX_COMPONENT + 1) - 1;
} else {
borrow = 0;
lhs--;
}
}
if (lhs < rhs) {
borrow = 1;
lhs += MAX_COMPONENT + 1;