const std = @import("std"); test "intcast" { var rc_signed: isize = -1; var rc_unsigned = @bitCast(usize, rc_signed); std.debug.print("unsigned value: {}\n", .{rc_unsigned}); var intcasted = @intCast(i32, rc_unsigned); }