Stdle #54 · integers · 2026-07-30
What does this Zig snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const std = @import("std");pub fn main() void { const x: u8 = 0b11110000; const rotated = std.math.rotl(u8, x, 3); std.debug.print("{b:0>8}\n", .{rotated});}Integers