so 1f64 / 0 evaluates to inf : F64 in the repl, and -1f64 / 0 evaluates to -inf : F64
does anyone know where the string inf comes from? I don't see the string literal "inf" in our code base...does it come from zig maybe?
yeah, zig
yeah i think so https://github.com/zig-lang/zig/blob/b82459fa435c366c6af0fee96c3d9b95c24078f9/lib/std/fmt.zig#L1272-L1274
strFromFloatHelp
nice, thanks!
Last updated: Nov 08 2025 at 12:13 UTC