diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-04-12 06:37:12 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-12 06:37:12 -0400 |
| commit | 17631cb2d30bf2d7b10401cf8f784a599bade5c5 (patch) | |
| tree | 8ba131f77ef38c531711c7b1147c59e993cab628 /test | |
| parent | 17daba1806896a2e45a2c1b1969a540f44a64d86 (diff) | |
| parent | 9b5c02022f997d01bcfcfd79ba4c721af1bd9a6c (diff) | |
| download | zig-17631cb2d30bf2d7b10401cf8f784a599bade5c5.tar.gz zig-17631cb2d30bf2d7b10401cf8f784a599bade5c5.zip | |
Merge pull request #11401 from viriuwu/float-category-misc
math: simplify inf (+f80 support), deprecate old constants (followup for #10133)
Diffstat (limited to 'test')
| -rw-r--r-- | test/behavior/vector.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/vector.zig b/test/behavior/vector.zig index ccf22a2094..aaf61745b0 100644 --- a/test/behavior/vector.zig +++ b/test/behavior/vector.zig @@ -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)); } }, |
