aboutsummaryrefslogtreecommitdiff
path: root/core/math/bits
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-31 22:32:53 +0100
committergingerBill <bill@gingerbill.org>2021-08-31 22:32:53 +0100
commitf57201bbd1f85772536e050b490a313ca62cb1b7 (patch)
tree962ce81e9548d57f84cdab5cadd279f8172d0464 /core/math/bits
parent2db6fea6655215452d445f327cadda815d65afd9 (diff)
Remove unneeded semicolons from the core library
Diffstat (limited to 'core/math/bits')
-rw-r--r--core/math/bits/bits.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/bits/bits.odin b/core/math/bits/bits.odin
index c65c2fa2b..0d05b356d 100644
--- a/core/math/bits/bits.odin
+++ b/core/math/bits/bits.odin
@@ -221,7 +221,7 @@ mul_uint :: proc(x, y: uint) -> (hi, lo: uint) {
when size_of(uint) == size_of(u32) {
a, b := mul_u32(u32(x), u32(y))
} else {
- #assert(size_of(uint) == size_of(u64));
+ #assert(size_of(uint) == size_of(u64))
a, b := mul_u64(u64(x), u64(y))
}
return uint(a), uint(b)
@@ -285,7 +285,7 @@ div_uint :: proc(hi, lo, y: uint) -> (quo, rem: uint) {
when size_of(uint) == size_of(u32) {
a, b := div_u32(u32(hi), u32(lo), u32(y))
} else {
- #assert(size_of(uint) == size_of(u64));
+ #assert(size_of(uint) == size_of(u64))
a, b := div_u64(u64(hi), u64(lo), u64(y))
}
return uint(a), uint(b)