use math/float.zig everywhere
This commit is contained in:
@@ -641,7 +641,7 @@ test "vector reduce operation" {
|
||||
// equal.
|
||||
} else {
|
||||
const F = @TypeOf(expected);
|
||||
const tolerance = @sqrt(math.epsilon(TX));
|
||||
const tolerance = @sqrt(math.floatEps(TX));
|
||||
try expect(std.math.approxEqRel(F, expected, r, tolerance));
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user