Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const std = @import("std");
- pub fn main() void {
- var off: u5 = 23;
- const result: u32 = @intCast(u32,1) << off;
- std.debug.warn("result: \n", .{});
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement