diff options
Diffstat (limited to 'lib/std/testing.zig')
| -rw-r--r-- | lib/std/testing.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/testing.zig b/lib/std/testing.zig index fa131122bb..6b1e0bb640 100644 --- a/lib/std/testing.zig +++ b/lib/std/testing.zig @@ -263,7 +263,7 @@ pub fn expectApproxEqRel(expected: anytype, actual: @TypeOf(expected), tolerance test "expectApproxEqRel" { inline for ([_]type{ f16, f32, f64, f128 }) |T| { - const eps_value = comptime math.epsilon(T); + const eps_value = comptime math.floatEps(T); const sqrt_eps_value = comptime @sqrt(eps_value); const pos_x: T = 12.0; |
