diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-04-21 19:48:59 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-04-21 19:48:59 -0400 |
| commit | 2cdbb5f47260d2510ce478c77fa9c3c7c29fb671 (patch) | |
| tree | 6bebbf19524eaad49c86dbfd8cbc43e2e27375bb /lib/std/math/big | |
| parent | 0746028a2a6caf28e396f042be0b23c8d6fb7a5e (diff) | |
| download | zig-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.zig | 2 |
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; } |
