zig/doc/langref/float_special_values.zig

8 lines
144 B
Zig

const std = @import("std");
const inf = std.math.inf(f32);
const negative_inf = -std.math.inf(f64);
const nan = std.math.nan(f128);
// syntax