← Back to archive

Stdle #86 · math · 2026-08-31

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: f32 = 9.99;
std.debug.print("{d} {d}\n", .{ @floor(x), @ceil(x) });
}
Math
4 attempts left

Answer & explanation