aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A23.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A23.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A23.js51
1 files changed, 0 insertions, 51 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A23.js b/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A23.js
deleted file mode 100644
index c7a1ba241..000000000
--- a/test/suite/sputnik_converted/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A23.js
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S15.8.2.13_A23;
- * @section: 15.8.2.13;
- * @assertion: If x<0 and x is finite and y is finite and y is not an integer, Math.pow(x,y) is NaN;
- * @description: Checking if Math.pow(x,y) is NaN, where x<0 and x is finite and y is finite and y is not an integer;
- */
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.8.2.13_A23",
-
-path: "TestCases/15_Native/15.8_The_Math_Object/15.8.2_Function_Properties_of_the_Math_Object/15.8.2.13_pow/S15.8.2.13_A23.js",
-
-assertion: "If x<0 and x is finite and y is finite and y is not an integer, Math.pow(x,y) is NaN",
-
-description: "Checking if Math.pow(x,y) is NaN, where x<0 and x is finite and y is finite and y is not an integer",
-
-test: function testcase() {
- // CHECK#1
-
-y = NaN;
-x = new Array();
-x[0] = -1.7976931348623157E308; //largest (by module) finite number
-x[1] = -Math.PI;
-x[2] = -1;
-x[3] = -0.000000000000001;
-xnum = 4;
-
-y[0] = -Math.PI;
-y[1] = -Math.E;
-y[2] = -1.000000000000001;
-y[3] = -0.000000000000001;
-y[4] = 0.000000000000001;
-y[5] = 1.000000000000001;
-y[6] = Math.E;
-y[7] = Math.PI;
-ynum = 8;
-
-for (i = 0; i < xnum; i++)
- for (j = 0; j < ynum; j++)
- if (!isNaN(Math.pow(x[i],y[j])))
- $ERROR("#1: isNaN(Math.pow(" + x[i] + ", " + y[j] + ")) === false");
-
- }
-});
-