Index: test/mjsunit/math-floor-part1.js |
diff --git a/test/mjsunit/math-floor-part1.js b/test/mjsunit/math-floor-part1.js |
index dd4deb0a06025ccae4b65787c9da71b14b135229..b57b3e20dc8782e6e655f0ecd4a66b572b654018 100644 |
--- a/test/mjsunit/math-floor-part1.js |
+++ b/test/mjsunit/math-floor-part1.js |
@@ -60,15 +60,19 @@ function test() { |
testFloor(0, 0.49999999999999994); |
testFloor(0, 0.5); |
testFloor(0, 0.7); |
+ testFloor(0, 1.0 - Number.EPSILON); |
testFloor(-1, -0.1); |
testFloor(-1, -0.49999999999999994); |
testFloor(-1, -0.5); |
testFloor(-1, -0.7); |
testFloor(1, 1); |
testFloor(1, 1.1); |
+ testFloor(1, 1.0 + Number.EPSILON); |
testFloor(1, 1.5); |
testFloor(1, 1.7); |
testFloor(-1, -1); |
+ testFloor(-1, -1 + Number.EPSILON); |
+ testFloor(-2, -1 - Number.EPSILON); |
testFloor(-2, -1.1); |
testFloor(-2, -1.5); |
testFloor(-2, -1.7); |