fn testSinSpecial(comptime T: type) !void
fn testSinSpecial(comptime T: type) !void { const f = switch (T) { f32 => sinf, f64 => sin, f80 => sinx, f128 => sinq, else => @compileError("unimplemented"), }; try expect(math.isPositiveZero(f(0.0))); try expect(math.isNegativeZero(f(-0.0))); try expect(math.isNan(f(math.inf(T)))); try expect(math.isNan(f(-math.inf(T)))); try expect(math.isNan(f(math.nan(T)))); }