aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T1.js')
-rw-r--r--test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T1.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T1.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T1.js
deleted file mode 100644
index b0a40558a..000000000
--- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A13_T1.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S8.5_A13_T1;
- * @section: 8.5, 7.8.3;
- * @assertion: 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;
- * @description: Finite Non zero values where e is -1074;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S8.5_A13_T1",
-
-path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A13_T1.js",
-
-assertion: "Finite nonzero values that are Normalised having the form s*m*2**e",
-
-description: "Finite Non zero values where e is -1074",
-
-test: function testcase() {
- //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)))));
-}
-
- }
-});
-