diff options
Diffstat (limited to 'test/suite/ch15/15.8/15.8.2/15.8.2.16')
-rw-r--r-- | test/suite/ch15/15.8/15.8.2/15.8.2.16/S15.8.2.16_A7.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/suite/ch15/15.8/15.8.2/15.8.2.16/S15.8.2.16_A7.js b/test/suite/ch15/15.8/15.8.2/15.8.2.16/S15.8.2.16_A7.js index 867dcdb2c..8ec58a852 100644 --- a/test/suite/ch15/15.8/15.8.2/15.8.2.16/S15.8.2.16_A7.js +++ b/test/suite/ch15/15.8/15.8.2/15.8.2.16/S15.8.2.16_A7.js @@ -77,7 +77,11 @@ x[59] = 5.88425290672373970000; x[60] = 5.98398600683770090000; x[61] = 6.08371910695166300000; x[62] = 6.18345220706562420000; -x[63] = 6.28318530717958620000; +// Result is implementation dependent and varies on platform as you approach limits. +// e.g. Output approaches zero as input approaches PI * 2 (6.28318530717958647). +// The value of 6.2831 for x[63] is chosen below as an arbitrary cut off point for +// expecting a result within the validation's tolerance range. +x[63] = 6.2831; var y = new Array(); @@ -144,8 +148,7 @@ y[59] = -0.38843479627469474000; y[60] = -0.29475517441090471000; y[61] = -0.19814614319939772000; y[62] = -0.09956784659581728600; -y[63] = -0.0000000000000002449293598294706400; - +y[63] = -0.00008530717948287973; var val; for (i = 0; i < vnum; i++) |