Remove unneeded semicolons from the core library

This commit is contained in:
gingerBill
2021-08-31 22:32:53 +01:00
parent 2db6fea665
commit f57201bbd1
19 changed files with 80 additions and 80 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ Typeid_Kind :: enum u8 {
Relative_Pointer,
Relative_Slice,
}
#assert(len(Typeid_Kind) < 32);
#assert(len(Typeid_Kind) < 32)
// Typeid_Bit_Field :: bit_field #align align_of(uintptr) {
// index: 8*size_of(uintptr) - 8,
+1 -1
View File
@@ -580,7 +580,7 @@ card :: proc(s: $S/bit_set[$E; $U]) -> int {
} else when size_of(S) == 16 {
return int(intrinsics.count_ones(transmute(u128)s))
} else {
#panic("Unhandled card bit_set size");
#panic("Unhandled card bit_set size")
}
}
+2 -2
View File
@@ -702,7 +702,7 @@ floattidf :: proc(a: i128) -> f64 {
case:
a = i128(u128(a) >> u128(sd - (DBL_MANT_DIG+2))) |
i128(u128(a) & (~u128(0) >> u128(N + DBL_MANT_DIG+2 - sd)) != 0)
};
}
a |= i128((a & 4) != 0)
a += 1
@@ -743,7 +743,7 @@ floattidf_unsigned :: proc(a: u128) -> f64 {
case:
a = u128(u128(a) >> u128(sd - (DBL_MANT_DIG+2))) |
u128(u128(a) & (~u128(0) >> u128(N + DBL_MANT_DIG+2 - sd)) != 0)
};
}
a |= u128((a & 4) != 0)
a += 1