aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T8.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T8.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T8.js36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T8.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T8.js
deleted file mode 100644
index a9d8c9e12..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T8.js
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S11.5.1_A4_T8;
- * @section: 11.5.1;
- * @assertion: The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics;
- * @description: Multiplication is not always associative (x * y * z is the same as (x * y) * z, not x * (y * z));
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.5.1_A4_T8",
-
-path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Applying_the_asterisk_Operator/S11.5.1_A4_T8.js",
-
-assertion: "The result of a floating-point multiplication is governed by the rules of IEEE 754 double-precision arithmetics",
-
-description: "Multiplication is not always associative (x * y * z is the same as (x * y) * z, not x * (y * z))",
-
-test: function testcase() {
- //CHECK#1
-if (Number.MAX_VALUE * 1.1 * 0.9 !== (Number.MAX_VALUE * 1.1) * 0.9) {
- $ERROR('#1: Number.MAX_VALUE * 1.1 * 0.9 === (Number.MAX_VALUE * 1.1) * 0.9. Actual: ' + (Number.MAX_VALUE * 1.1 * 0.9));
-}
-
-//CHECK#2
-if ((Number.MAX_VALUE * 1.1) * 0.9 === Number.MAX_VALUE * (1.1 * 0.9)) {
- $ERROR('#2: (Number.MAX_VALUE * 1.1) * 0.9 !== Number.MAX_VALUE * (1.1 * 0.9)');
-}
-
- }
-});
-