Advertisement
Guest User

Untitled

a guest
Apr 11th, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. const std = @import("std");
  2.  
  3. pub fn main() void {
  4. var off: u5 = 23;
  5. const result: u32 = @intCast(u32,1) << off;
  6. std.debug.warn("result: \n", .{});
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement