Lines Matching defs:expected
36 static int testPowCase(double input1, double input2, double expected) {
39 StrictMath.pow(input1, input2), expected);
41 Math.pow(input1, input2), expected);
46 static int testStrictPowCase(double input1, double input2, double expected) {
49 StrictMath.pow(input1, input2), expected);
53 static int testNonstrictPowCase(double input1, double input2, double expected) {
56 Math.pow(input1, input2), expected);
140 double expected=NaN;
145 expected = NaN;
147 expected = 1.0;
151 expected = Double.POSITIVE_INFINITY;
153 expected = NaN;
155 expected = +0.0;
158 expected = NaN;
162 expected = +0.0;
164 expected = NaN;
166 expected = Double.POSITIVE_INFINITY;
169 expected = NaN;
173 expected = x;
176 expected = NaN;
178 expected = (y < 0.0) ? f2(y) :f1(y);
180 expected = (y < 0.0) ? +0.0 : Double.POSITIVE_INFINITY;
183 expected = (y < 0.0) ? Double.POSITIVE_INFINITY: +0.0;
186 expected = (y < 0.0) ? f1(y): f2(y);
194 expected = NaN;
198 failures += testPowCase(x, y, expected);