Stdle #64 · math · 2026-08-09
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: i16 = -128; const y: u8 = @intCast(@as(i16, @abs(x))); std.debug.print("{d}\n", .{y});}Math