diff options
Diffstat (limited to 'tests/fenv_test.cpp')
-rw-r--r-- | tests/fenv_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fenv_test.cpp b/tests/fenv_test.cpp index d27808f1e..e983a1c08 100644 --- a/tests/fenv_test.cpp +++ b/tests/fenv_test.cpp @@ -27,7 +27,7 @@ static void TestRounding(float expectation1, float expectation2) { volatile float m = 0x1.0p23f; volatile float x = f + m; ASSERT_FLOAT_EQ(expectation1, x); - x -= m; + x = x - m; ASSERT_EQ(expectation2, x); } |