diff options
Diffstat (limited to 'test/suite/ch15/15.8/15.8.2/15.8.2.18/S15.8.2.18_A7.js')
-rw-r--r-- | test/suite/ch15/15.8/15.8.2/15.8.2.18/S15.8.2.18_A7.js | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/suite/ch15/15.8/15.8.2/15.8.2.18/S15.8.2.18_A7.js b/test/suite/ch15/15.8/15.8.2/15.8.2.18/S15.8.2.18_A7.js index 79dca3833..8f1c0a647 100644 --- a/test/suite/ch15/15.8/15.8.2/15.8.2.18/S15.8.2.18_A7.js +++ b/test/suite/ch15/15.8/15.8.2/15.8.2.18/S15.8.2.18_A7.js @@ -14,7 +14,11 @@ $INCLUDE("math_isequal.js"); // CHECK#1 vnum = 64; var x = new Array(); -x[0] = -1.57079632679489660000; +// Result is implementation dependent and varies on platform as you approach limits. +// e.g. Output approaches Infinity as input approaches PI / 2 (1.5707963267948966) +// The value of 1.5707 for x[0] is chosen below as an arbitrary cut off point for +// expecting a result within the validation's tolerance range. +x[0] = -1.5707; x[1] = -1.52092977673791570000; x[2] = -1.47106322668093490000; x[3] = -1.42119667662395410000; @@ -77,12 +81,12 @@ x[59] = 1.37133012656697330000; x[60] = 1.42119667662395390000; x[61] = 1.47106322668093490000; x[62] = 1.52092977673791550000; -x[63] = 1.57079632679489660000; +x[63] = 1.5707; var y = new Array(); -y[0] = -16331239353195370.00000000000000000000; +y[0] = -10381.32741756979; y[1] = -20.03689788997828100000; y[2] = -9.99349498241742220000; y[3] = -6.63456649978931170000; @@ -145,7 +149,7 @@ y[59] = 4.94671494494940060000; y[60] = 6.63456649978930190000; y[61] = 9.99349498241742220000; y[62] = 20.03689788997819200000; -y[63] = 16331239353195370.00000000000000000000; +y[63] = 10381.32741756979; var val; |