/third_party/typescript/tests/baselines/reference/ |
H A D | exponentiationOperatorSyntaxError2.js | 73 Math.pow(delete --temp, 3);
74 Math.pow(delete ++temp, 3);
75 Math.pow(delete temp--, 3);
76 Math.pow(delete temp++, 3);
77 Math.pow(1, Math.pow(delete --temp, 3));
78 Math.pow(1, Math.pow(delete ++temp, 3));
79 Math.pow(1, Math.pow(delet [all...] |
H A D | emitExponentiationOperator3.js | 44 Math.pow((-++temp), 3);
45 Math.pow((+--temp), 3);
46 Math.pow((-temp++), 3);
47 Math.pow((+temp--), 3);
48 Math.pow((-(Math.pow(1, ++temp))), 3);
49 Math.pow((-(Math.pow(1, --temp))), 3);
50 Math.pow((-(Math.pow( [all...] |
H A D | exponentiationOperatorSyntaxError1.js | 43 Math.pow(// Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without ()
45 Math.pow(+1, 2);
46 Math.pow(1, Math.pow(-2, 3));
47 Math.pow(1, Math.pow(-2, -3));
48 Math.pow(-1, Math.pow(-2, -3));
49 Math.pow(-(Math.pow( [all...] |
H A D | emitExponentiationOperator4.js | 42 Math.pow(temp, 3);
43 Math.pow(--temp, 3);
44 Math.pow(++temp, 3);
45 Math.pow(temp--, 3);
46 Math.pow(temp++, 3);
47 Math.pow(1, Math.pow(--temp, 3));
48 Math.pow(1, Math.pow(++temp, 3));
49 Math.pow( [all...] |
H A D | exponentiationOperatorWithInvalidSimpleUnaryExpressionOperands.js | 42 Math.pow((!--temp), 3);
43 Math.pow((!temp--), 3);
44 Math.pow((!3), 4);
45 Math.pow((!temp++), 4);
46 Math.pow((!temp--), 4);
47 Math.pow((!--temp), Math.pow(3, 1));
48 Math.pow((!temp--), Math.pow(3, 1));
49 Math.pow((! [all...] |
H A D | emitCompoundExponentiationOperator2.js | 29 comp = Math.pow(comp, 1);
30 comp = Math.pow(comp, comp = Math.pow(comp, 1));
31 comp = Math.pow(comp, comp = Math.pow(comp, 1 + 2));
32 comp = Math.pow(comp, comp = Math.pow(comp, 1 - 2));
33 comp = Math.pow(comp, comp = Math.pow(comp, 1 * 2));
34 comp = Math.pow(com [all...] |
H A D | emitExponentiationOperator2.js | 59 Math.pow(++temp, 3);
60 Math.pow(--temp, 3);
61 Math.pow(temp++, 3);
62 Math.pow(temp--, 3);
63 --temp + Math.pow(temp, 3);
64 --temp - Math.pow(temp, 3);
65 --temp * Math.pow(temp, 3);
66 --temp / Math.pow(temp, 3);
67 --temp % Math.pow(temp, 3);
68 Math.pow(tem [all...] |
H A D | compoundExponentiationAssignmentLHSCannotBeAssigned.js | 72 x1 = Math.pow(x1, a);
73 x1 = Math.pow(x1, b);
74 x1 = Math.pow(x1, true);
75 x1 = Math.pow(x1, 0);
76 x1 = Math.pow(x1, '');
77 x1 = Math.pow(x1, E.a);
78 x1 = Math.pow(x1, {});
79 x1 = Math.pow(x1, null);
80 x1 = Math.pow(x1, undefined);
82 x2 = Math.pow(x [all...] |
H A D | emitCompoundExponentiationOperator1.js | 25 comp = Math.pow(comp, 1);
26 comp = Math.pow(comp, Math.pow(comp, comp));
27 comp = Math.pow(comp, Math.pow(comp, Math.pow(comp, 2)));
28 comp = Math.pow(comp, Math.pow(comp, comp) + 2);
29 comp = Math.pow(comp, Math.pow(com [all...] |
H A D | exponentiationOperatorInTemplateStringWithSyntaxError1.js | 35 "".concat(1 + Math.pow(typeof t1, Math.pow(t2, t1)));
36 "".concat(Math.pow(-t1, t2) - t1);
37 "".concat(Math.pow(-++t1, t2) - t1);
38 "".concat(Math.pow(-t1++, t2) - t1);
39 "".concat(Math.pow(!t1, Math.pow(t2, --t1)));
40 "".concat(Math.pow(typeof t1, Math.pow(t2, t1)));
41 "".concat(Math.pow( [all...] |
H A D | exponentiationOperatorInTemplateStringWithSyntaxError2.js | 36 "hello ".concat(Math.pow(-t1, t2) - t1);
37 "hello ".concat(Math.pow(-++t1, t2) - t1);
38 "hello ".concat(Math.pow(-t1++, t2) - t1);
39 "hello ".concat(Math.pow(!t1, Math.pow(t2, --t1)));
40 "hello ".concat(Math.pow(typeof t1, Math.pow(t2, t1)));
41 "hello ".concat(1 + Math.pow(typeof t1, Math.pow(t2, t1)));
42 "hello ".concat(Math.pow( [all...] |
H A D | exponentiationOperatorInTemplateStringWithSyntaxError3.js | 35 "".concat(Math.pow(-t1, t2) - t1, " world");
36 "".concat(Math.pow(-++t1, t2) - t1, " world");
37 "".concat(Math.pow(-t1++, t2) - t1, " world");
38 "".concat(Math.pow(!t1, Math.pow(t2, --t1)), " world");
39 "".concat(Math.pow(typeof t1, Math.pow(t2, t1)), " world");
40 "".concat(1 + Math.pow(typeof t1, Math.pow(t2, t1)), " world");
41 "".concat(Math.pow( [all...] |
H A D | emitExponentiationOperatorInTemplateString1.js | 34 "".concat(Math.pow(t1, t2));
35 "".concat(Math.pow(t1, Math.pow(t2, t1)));
36 "".concat(t1 + Math.pow(t2, t1));
37 "".concat(Math.pow(t1, t2) + t1);
38 "".concat(t1 + Math.pow(t2, t2) + t1);
39 "".concat(typeof (Math.pow(t1, Math.pow(t2, t1))));
40 "".concat(1 + typeof (Math.pow(t1, Math.pow(t [all...] |
H A D | emitExponentiationOperatorInTemplateString1ES6.js | 34 `${Math.pow(t1, t2)}`;
35 `${Math.pow(t1, Math.pow(t2, t1))}`;
36 `${t1 + Math.pow(t2, t1)}`;
37 `${Math.pow(t1, t2) + t1}`;
38 `${t1 + Math.pow(t2, t2) + t1}`;
39 `${typeof (Math.pow(t1, Math.pow(t2, t1)))}`;
40 `${1 + typeof (Math.pow(t1, Math.pow(t [all...] |
H A D | emitExponentiationOperatorInTemplateString2.js | 34 "hello ".concat(Math.pow(t1, t2));
35 "hello ".concat(Math.pow(t1, Math.pow(t2, t1)));
36 "hello ".concat(t1 + Math.pow(t2, t1));
37 "hello ".concat(Math.pow(t1, t2) + t1);
38 "hello ".concat(t1 + Math.pow(t2, t2) + t1);
39 "hello ".concat(typeof (Math.pow(t1, Math.pow(t2, t1))));
40 "hello ".concat(1 + typeof (Math.pow(t1, Math.pow(t [all...] |
H A D | emitExponentiationOperatorInTemplateString3.js | 35 "".concat(Math.pow(t1, t2), " world");
36 "".concat(Math.pow(t1, Math.pow(t2, t1)), " world");
37 "".concat(t1 + Math.pow(t2, t1), " world");
38 "".concat(Math.pow(t1, t2) + t1, " world");
39 "".concat(t1 + Math.pow(t2, t2) + t1, " world");
40 "".concat(typeof (Math.pow(t1, Math.pow(t2, t1))), " world");
41 "".concat(1 + typeof (Math.pow(t1, Math.pow(t [all...] |
H A D | exponentiationOperatorWithInvalidOperands.js | 88 var r1a1 = Math.pow(a, a); //ok
89 var r1a2 = Math.pow(a, b);
90 var r1a3 = Math.pow(a, c); //ok
91 var r1a4 = Math.pow(a, d);
92 var r1a5 = Math.pow(a, e);
93 var r1a6 = Math.pow(a, f);
94 var r1b1 = Math.pow(b, a);
95 var r1b2 = Math.pow(b, b);
96 var r1b3 = Math.pow(b, c);
97 var r1b4 = Math.pow( [all...] |
H A D | emitExponentiationOperatorInTempalteString4.js | 34 "".concat(Math.pow(t1, -t2), " world");
35 "".concat(Math.pow((-t1), t2) - t1, " world");
36 "".concat(Math.pow((-++t1), t2) - t1, " world");
37 "".concat(Math.pow((-t1++), t2) - t1, " world");
38 "".concat(Math.pow((~t1), Math.pow(t2, --t1)), " world");
39 "".concat(typeof (Math.pow(t1, Math.pow(t2, t1))), " world");
41 "".concat(Math.pow(t1, -t2), " hello world ").concat(Math.pow(t [all...] |
H A D | emitExponentiationOperatorInTemplateString2ES6.js | 34 `hello ${Math.pow(t1, t2)}`;
35 `hello ${Math.pow(t1, Math.pow(t2, t1))}`;
36 `hello ${t1 + Math.pow(t2, t1)}`;
37 `hello ${Math.pow(t1, t2) + t1}`;
38 `hello ${t1 + Math.pow(t2, t2) + t1}`;
39 `hello ${typeof (Math.pow(t1, Math.pow(t2, t1)))}`;
40 `hello ${1 + typeof (Math.pow(t1, Math.pow(t [all...] |
H A D | emitExponentiationOperatorInTemplateString3ES6.js | 35 `${Math.pow(t1, t2)} world`;
36 `${Math.pow(t1, Math.pow(t2, t1))} world`;
37 `${t1 + Math.pow(t2, t1)} world`;
38 `${Math.pow(t1, t2) + t1} world`;
39 `${t1 + Math.pow(t2, t2) + t1} world`;
40 `${typeof (Math.pow(t1, Math.pow(t2, t1)))} world`;
41 `${1 + typeof (Math.pow(t1, Math.pow(t [all...] |
H A D | compoundExponentiationAssignmentLHSIsValue.js | 110 this = Math.pow(this, value);
113 this = Math.pow(this, value);
116 this = Math.pow(this, value);
121 this = Math.pow(this, value);
123 this = Math.pow(this, value);
128 M = Math.pow(M, value);
129 C = Math.pow(C, value);
133 E = Math.pow(E, value);
134 foo = Math.pow(foo, value);
136 null = Math.pow(nul [all...] |
H A D | emitExponentiationOperatorInTempalteString4ES6.js | 34 `${Math.pow(t1, -t2)} world`;
35 `${Math.pow((-t1), t2) - t1} world`;
36 `${Math.pow((-++t1), t2) - t1} world`;
37 `${Math.pow((-t1++), t2) - t1} world`;
38 `${Math.pow((~t1), Math.pow(t2, --t1))} world`;
39 `${typeof (Math.pow(t1, Math.pow(t2, t1)))} world`;
41 `${Math.pow(t1, -t2)} hello world ${Math.pow(t [all...] |
/third_party/python/Lib/test/ |
H A D | test_pow.py | 9 self.assertEqual(pow(type(i), 0), 1) 10 self.assertEqual(pow(type(i), 1), type(i)) 11 self.assertEqual(pow(type(0), 1), type(0)) 12 self.assertEqual(pow(type(1), 1), type(1)) 15 self.assertEqual(pow(type(i), 3), i*i*i) 19 self.assertEqual(pow(2, i), pow2) 24 inv = pow(ii, -1) # inverse of ii 26 self.assertAlmostEqual(pow(ii, jj), pow(inv, -jj)) 34 self.assertRaises(ZeroDivisionError, pow, zer [all...] |
/third_party/musl/libc-test/src/functional/ |
H A D | tgmath.c | 22 if (sizeof pow(sqrt(8),0.5f) != sizeof(double)) in main() 23 t_error("sizeof pow(sqrt(8),0.5f) want %d got %d\n", (int)sizeof(double), (int)sizeof pow(sqrt(8),0.5f)); in main() 24 if (sizeof pow(2.0,0.5) != sizeof(double)) in main() 25 t_error("sizeof pow(2.0,0.5) want %d got %d\n", (int)sizeof(double), (int)sizeof pow(2.0,0.5)); in main() 26 if (sizeof pow(2.0f,0.5f) != sizeof(float)) in main() 27 t_error("sizeof pow(2.0f,0.5f) want %d got %d\n", (int)sizeof(float), (int)sizeof pow(2.0f,0.5f)); in main() 28 if (sizeof pow(2. in main() [all...] |
/third_party/jerryscript/tools/unit-tests/ |
H A D | gen-test-libm.c | 637 /* pow tests */ in main() 638 GEN_DBL_TEST (pow (0.0, 0.0)); in main() 639 GEN_DBL_TEST (pow (0.0, -0.0)); in main() 640 GEN_DBL_TEST (pow (-0.0, 0.0)); in main() 641 GEN_DBL_TEST (pow (-0.0, -0.0)); in main() 642 GEN_DBL_TEST (pow (0.0, 1.0)); in main() 643 GEN_DBL_TEST (pow (0.0, -1.0)); in main() 644 GEN_DBL_TEST (pow (-0.0, 1.0)); in main() 645 GEN_DBL_TEST (pow (-0.0, -1.0)); in main() 646 GEN_DBL_TEST (pow (0. in main() [all...] |