diff options
Diffstat (limited to 'test/suite/ch08/8.5/S8.5_A13_T1.js')
-rw-r--r-- | test/suite/ch08/8.5/S8.5_A13_T1.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/test/suite/ch08/8.5/S8.5_A13_T1.js b/test/suite/ch08/8.5/S8.5_A13_T1.js deleted file mode 100644 index 7ac286045..000000000 --- a/test/suite/ch08/8.5/S8.5_A13_T1.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * Finite nonzero values that are Normalised having the form s*m*2**e - * where s is +1 or -1, m is a positive integer less than 2**53 but not - * less than s**52 and e is an integer ranging from -1074 to 971 - * - * @path ch08/8.5/S8.5_A13_T1.js - * @description Finite Non zero values where e is -1074 - * @implDependent Does not pass on current ARM processors - */ - -//CHECK #1 -if ((1*((Math.pow(2,53))-1)*(Math.pow(2,-1074))) !== 4.4501477170144023e-308){ - $ERROR('#1: (1*((Math.pow(2,53))-1)*(Math.pow(2,-1074))) === 4.4501477170144023e-308. Actual: ' + ((1*((Math.pow(2,53))-1)*(Math.pow(2,-1074))))); -} - -//CHECK #2 -if ((1*(Math.pow(2,52))*(Math.pow(2,-1074))) !== 2.2250738585072014e-308){ - $ERROR('#2: (1*(Math.pow(2,52))*(Math.pow(2,-1074))) === 2.2250738585072014e-308. Actual: ' + ((1*(Math.pow(2,52))*(Math.pow(2,-1074))))); -} - -//CHECK #3 -if ((-1*(Math.pow(2,52))*(Math.pow(2,-1074))) !== -2.2250738585072014e-308){ - $ERROR('#3: (-1*(Math.pow(2,52))*(Math.pow(2,-1074))) === -2.2250738585072014e-308. Actual: ' + ((-1*(Math.pow(2,52))*(Math.pow(2,-1074))))); -} - |