mrbgems: add newline before else keyword

This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-08-21 21:49:45 +09:00
parent 8fd02f28a3
commit 4656cd4847
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1507,7 +1507,8 @@ udiv(mpz_ctx_t *ctx, mpz_t *qq, mpz_t *rr, mpz_t *xx, mpz_t *yy)
left_side -= y_third;
right_side = (rhat << DIG_SIZE) + x_fourth;
}
} else if (yd == 2) { // Original 2-limb check
}
else if (yd == 2) { // Original 2-limb check
mp_dbl_limb y_second = y.p[yd-2];
mp_dbl_limb x_third = (j+yd-2 < x.sz) ? x.p[j+yd-2] : 0;
mp_dbl_limb left_side = qhat * y_second;
+2 -1
View File
@@ -543,7 +543,8 @@ complex_pow(mrb_state *mrb, mrb_value self)
mrb_float exp_a = F(exp)(a);
return mrb_complex_new(mrb, exp_a * F(cos)(b), exp_a * F(sin)(b));
} else {
}
else {
mrb_float other_float = mrb_as_float(mrb, other);
mrb_float abs_self = F(hypot)(self_real, self_imaginary);