Index: test/cctest/compiler/test-run-machops.cc |
diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc |
index 2e2587d40f4c05b3ac391ce55e2f782edba3f4ba..3b144fcfcffe91f1f88c587d8cea733e507c2c21 100644 |
--- a/test/cctest/compiler/test-run-machops.cc |
+++ b/test/cctest/compiler/test-run-machops.cc |
@@ -5482,7 +5482,7 @@ TEST(RunTryTruncateFloat32ToInt64WithCheck) { |
m.Return(val); |
FOR_FLOAT32_INPUTS(i) { |
- if (*i < 9223372036854775808.0 && *i > -9223372036854775809.0) { |
+ if (*i < 9223372036854775808.0 && *i >= -9223372036854775808.0) { |
CHECK_EQ(static_cast<int64_t>(*i), m.Call(*i)); |
CHECK_NE(0, success); |
} else { |
@@ -5514,7 +5514,7 @@ TEST(RunTryTruncateFloat64ToInt64WithCheck) { |
m.Return(val); |
FOR_FLOAT64_INPUTS(i) { |
- if (*i < 9223372036854775808.0 && *i > -9223372036854775809.0) { |
+ if (*i < 9223372036854775808.0 && *i >= -9223372036854775808.0) { |
// Conversions within this range should succeed. |
CHECK_EQ(static_cast<int64_t>(*i), m.Call(*i)); |
CHECK_NE(0, success); |