aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.1.js')
-rw-r--r--test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.1.js35
1 files changed, 0 insertions, 35 deletions
diff --git a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.1.js b/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.1.js
deleted file mode 100644
index 6cc4482fc..000000000
--- a/test/suite/sputnik_converted/08_Types/8.5_The_Number_Type/S8.5_A2.1.js
+++ /dev/null
@@ -1,35 +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_A2.1;
- * @section: 8.5, 7.8.3;
- * @assertion: Number type represented as the double precision 64-bit format IEEE 754;
- * @description: Use 2^53 + 2 number and do some operation with it;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S8.5_A2.1",
-
-path: "TestCases/08_Types/8.5_The_Number_Type/S8.5_A2.1.js",
-
-assertion: "Number type represented as the double precision 64-bit format IEEE 754",
-
-description: "Use 2^53 + 2 number and do some operation with it",
-
-test: function testcase() {
- var x = 9007199254740994.0; /* 2^53 + 2 */
-var y = 1.0 - 1/65536.0;
-var z = x + y;
-var d = z - x;
-
-if (d !== 0){
- $ERROR('#1: var x = 9007199254740994.0; var y = 1.0 - 1/65536.0; var z = x + y; var d = z - x; d === 0. Actual: ' + (d));
-}
-
- }
-});
-