Stdle #134 · math · 2026-10-18
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: f64 = -2.8; std.debug.print("{d}\n", .{@trunc(x)});}Math