Commit 2ea6e2a9

2ea6e2a948f4Merged

Yukihiro "Matz" Matsumoto <[email protected]> · 5 months ago · 20 files · ~20 modified

Description

Reformat else/else if statements onto new lines

Place closing brace and else keyword on separate lines per Spinel style: } else { → } else {

Reformatted 95 else statements and 31 else if statements across 20 files.

Co-Authored-By: Claude Haiku 4.5 [email protected]

Details

Commit
2ea6e2a948f4
Parent
b2dc028b2595

lib/sp_bigint.cmodifiedView file

@@ -1240,7 +1240,8 @@
12401240 rp[i] = LOW(sum);
12411241 carry = HIGH(sum);
12421242 }
1243- } else {
1243+ }
1244+else {
12441245 for (; i < bn; i++) {
12451246 mp_dbl_limb sum = (mp_dbl_limb)bp[i] + carry;
12461247 rp[i] = LOW(sum);
@@ -1564,7 +1565,8 @@
15641565 mpn_add(t2, t2, w_len, w0, w_len);
15651566 mpn_add(t2, t2, w_len, winf, w_len);
15661567 mpn_neg(t2, t2, w_len);
1567- } else {
1568+ }
1569+else {
15681570 mpn_sub(t2, t2, w_len, w0, w_len);
15691571 mpn_sub(t2, t2, w_len, winf, w_len);
15701572 }