aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math/big
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-04-21 19:48:59 -0400
committerAndrew Kelley <andrew@ziglang.org>2020-04-21 19:48:59 -0400
commit2cdbb5f47260d2510ce478c77fa9c3c7c29fb671 (patch)
tree6bebbf19524eaad49c86dbfd8cbc43e2e27375bb /lib/std/math/big
parent0746028a2a6caf28e396f042be0b23c8d6fb7a5e (diff)
downloadzig-2cdbb5f47260d2510ce478c77fa9c3c7c29fb671.tar.gz
zig-2cdbb5f47260d2510ce478c77fa9c3c7c29fb671.zip
ir: analyze int casting
Diffstat (limited to 'lib/std/math/big')
-rw-r--r--lib/std/math/big/int.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/math/big/int.zig b/lib/std/math/big/int.zig
index 01f4b6dccd..ac0eed3ebc 100644
--- a/lib/std/math/big/int.zig
+++ b/lib/std/math/big/int.zig
@@ -237,7 +237,7 @@ pub const Int = struct {
return bits;
}
- fn fitsInTwosComp(self: Int, is_signed: bool, bit_count: usize) bool {
+ pub fn fitsInTwosComp(self: Int, is_signed: bool, bit_count: usize) bool {
if (self.eqZero()) {
return true;
}