pub inline fn floatEpsAt(comptime T: type, x: T) T
pub inline fn floatEpsAt(comptime T: type, x: T) T { switch (@typeInfo(T)) { .float => |F| { const U: type = @Int(.unsigned, F.bits); const u: U = @bitCast(x); const y: T = @bitCast(u ^ 1); return @abs(x - y); }, else => @compileError("floatEpsAt only supports floats"), } }