diff --git a/tests/jerry-test-suite/11/11.04/11.04.04/11.04.04-006.js b/tests/jerry-test-suite/11/11.04/11.04.04/11.04.04-006.js index 0633d38fe..80f935b0f 100644 --- a/tests/jerry-test-suite/11/11.04/11.04.04/11.04.04-006.js +++ b/tests/jerry-test-suite/11/11.04/11.04.04/11.04.04-006.js @@ -13,5 +13,6 @@ // limitations under the License. var a = 1.12; +var eps = 0.00000001; -assert(++a === 2.12) \ No newline at end of file +assert(++a >= 2.12 - eps && a <= 2.12 + eps); diff --git a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-037.js b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-037.js index a7059860a..e82a6c8ad 100644 --- a/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-037.js +++ b/tests/jerry-test-suite/11/11.09/11.09.01/11.09.01-037.js @@ -12,6 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -var x = 1e-323 +var x = 0.1e-323 var y = false -assert(x == y) \ No newline at end of file +assert(x == y)