summaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2019-01-27 22:30:04 -0800
committerOri Bernstein <ori@eigenstate.org>2019-01-27 22:30:04 -0800
commit1ed7430691158c6a2a0c5a7bae36e9e49a43a0e2 (patch)
tree159155bcf56dd2c14902d4d0735a48d4dbf76771 /lib/std
parentad2292fd624c6e2979388fb93f06dd20643ca507 (diff)
downloadmc-1ed7430691158c6a2a0c5a7bae36e9e49a43a0e2.tar.gz
Fix formatting.
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/bigint.myr10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/std/bigint.myr b/lib/std/bigint.myr
index b574ce5..cbabe0f 100644
--- a/lib/std/bigint.myr
+++ b/lib/std/bigint.myr
@@ -478,12 +478,12 @@ const bigsub = {a, b
else
match bigcmp(a, b)
| `Before: /* a is negative */
- a.sign = b.sign
- -> usub(b, a)
+ a.sign = b.sign
+ -> usub(b, a)
| `After: /* b is negative */
- -> usub(a, b)
+ -> usub(a, b)
| `Equal:
- -> bigclear(a)
+ -> bigclear(a)
;;
;;
-> a
@@ -762,7 +762,7 @@ const bigmodpow = {base, exp, mod
r = mkbigint(1)
n = 0
- while !bigiszero(exp)
+ while !bigiszero(exp)
if (exp.dig[0] & 1) != 0
bigmul(r, base)
bigmod(r, mod)