diff --git a/test/staging/sm/Math/acosh-approx.js b/test/staging/sm/Math/acosh-approx.js index 502a4e4975..6af46bf582 100644 --- a/test/staging/sm/Math/acosh-approx.js +++ b/test/staging/sm/Math/acosh-approx.js @@ -273,7 +273,7 @@ var cosh_data = [ [1875817529344, 28.953212876533797] ]; -var sloppy_tolerance = 8; // FIXME +var sloppy_tolerance = 9; // FIXME for (var [x, y] of cosh_data) assertNear(Math.acosh(x), y, sloppy_tolerance); diff --git a/test/staging/sm/Math/cbrt-approx.js b/test/staging/sm/Math/cbrt-approx.js index c5123f1210..02095245df 100644 --- a/test/staging/sm/Math/cbrt-approx.js +++ b/test/staging/sm/Math/cbrt-approx.js @@ -22,6 +22,8 @@ var cbrt_data = [ [ Math.SQRT2, 1.1224620483093728 ] ]; -for (var [x, y] of cbrt_data) - assertNear(Math.cbrt(x), y); +var sloppy_tolerance = 3; + +for (var [x, y] of cbrt_data) + assertNear(Math.cbrt(x), y, sloppy_tolerance);