diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-18 01:45:19 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-19 14:32:18 +0100 |
| commit | 151e6911a8aa56749edbbf0c15ab04752d96c2f3 (patch) | |
| tree | 06fcf3d6551d1945b5717458aa09222c947ede04 /test/math.cpp | |
| parent | e77dc91b5d3e6a5181776a81cee2c3164c7b3cc9 (diff) | |
ccc
Diffstat (limited to 'test/math.cpp')
| -rw-r--r-- | test/math.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/math.cpp b/test/math.cpp index 6535e998..9befad18 100644 --- a/test/math.cpp +++ b/test/math.cpp @@ -20,9 +20,9 @@ bool test_sqrt() constexpr auto eps = F(1e-11); constexpr auto test = [](double x) { - auto x_ = (F)x; - auto y1 = Math::sqrt(x_); - auto y2 = std::sqrt(x_); + auto xʹ = (F)x; + auto y1 = Math::sqrt(xʹ); + auto y2 = std::sqrt(xʹ); return Math::abs(y1 - y2) < eps; }; |
