/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/ |
H A D | w_pow.c | 29 * wrapper pow(x,y) return x**y 36 double pow(double x, double y) /* wrapper pow */ function 38 double pow(x,y) /* wrapper pow */ 50 return __kernel_standard(x,y,42); /* pow(NaN,0.0) */ 56 return __kernel_standard(x,y,20); /* pow(0.0,0.0) */ 58 return __kernel_standard(x,y,23); /* pow(0.0,negative) */ 64 return __kernel_standard(x,y,24); /* pow neg**non-int */ 66 return __kernel_standard(x,y,21); /* pow overflo [all...] |
/openjdk7/jdk/test/java/math/BigDecimal/ |
H A D | EqualsTests.java | 59 {valueOf(Math.round(Math.pow(2, 10))), new BigDecimal("1024")}, 60 {new BigDecimal("1020"), valueOf(Math.pow(2, 11))}, 62 {new BigDecimal(BigInteger.valueOf(2).pow(65)),
|
H A D | PowTests.java | 27 * @summary Some exponent over/undeflow tests for the pow method 64 result = testCase[0].pow(exponent); 92 " failures while testing pow methods.");
|
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/constExpr/ |
H A D | Expression.java | 220 public static final BigInteger twoPow15 = two.pow (15); 221 public static final BigInteger twoPow16 = two.pow (16); 222 public static final BigInteger twoPow31 = two.pow (31); 223 public static final BigInteger twoPow32 = two.pow (32); 224 public static final BigInteger twoPow63 = two.pow (63); 225 public static final BigInteger twoPow64 = two.pow (64);
|
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/ |
H A D | cmscam02.c | 98 return (1.48 + pow(pMod -> n, 0.5)); 104 return (0.725 * pow((1.0 / pMod -> n), 0.2)); 113 FL = 0.2 * pow(k, 4.0) * (5.0 * pMod->LA) + 0.1 * 114 (pow((1.0 - pow(k, 4.0)), 2.0)) * 115 (pow((5.0 * pMod->LA), (1.0 / 3.0))); 187 temp = pow((-1.0 * pMod->FL * clr.RGBp[i] / 100.0), 0.42); 191 temp = pow((pMod->FL * clr.RGBp[i] / 100.0), 0.42); 252 clr.J = 100.0 * pow((clr.A / pMod->adoptedWhite.A), 255 clr.Q = (4.0 / pMod->c) * pow((cl [all...] |
H A D | cmsgamma.c | 290 Val = pow(R, Params[0]); 303 Val = pow(R, 1/Params[0]); 317 Val = pow(e, Params[0]); 331 Val = (pow(R, 1.0/Params[0]) - Params[2]) / Params[1]; 351 Val = pow(e, Params[0]) + Params[3]; 369 Val = (pow(e, 1/Params[0]) - Params[2]) / Params[1]; 388 Val = pow(e, Params[0]); 404 disc = pow(e, Params[0]); 408 Val = (pow(R, 1.0/Params[0]) - Params[2]) / Params[1]; 424 Val = pow( [all...] |
H A D | cmspcs.c | 146 return pow(t, 1.0/3.0); 372 LCh -> C = pow(Sqr(Lab ->a) + Sqr(Lab ->b), 0.5); 466 return pow(Sqr(dL) + Sqr(da) + Sqr(db), 0.5); 489 dh = pow(dhsq, 0.5); 622 cmsFloat64Number G = 0.5 * ( 1 - sqrt(pow((C + Cs) / 2 , 7.0) / (pow((C + Cs) / 2, 7.0) + pow(25.0, 7.0) ) )); 665 cmsFloat64Number Rc = 2 * sqrt(( pow(meanC_p, 7.0) )/( pow(meanC_p, 7.0) + pow(25. [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SoftEnvelopeGenerator.java | 130 stage_count[i] = (int)(Math.pow(2, 146 stage_count[i] = (int)(Math.pow(2, 169 stage_ix[i] = (int)(Math.pow(2, 182 stage_count[i] = (int)(Math.pow(2, 187 stage_count[i] = (int)(Math.pow(2, 217 stage_count[i] = (int)(Math.pow(2, 254 stage_count[i] = (int)(Math.pow(2, 268 stage_count[i] = (int)(Math.pow(2,
|
H A D | SoftLowFrequencyOscillator.java | 74 delay_counter[i] = (int)(Math.pow(2, 96 double fr = 440.0 * Math.pow(2.0,
|
H A D | SoftFilter.java | 305 double bandwidth = Math.PI * Math.pow(10.0, -(resonancedB / 20)); 333 double bandwidth = Math.PI * Math.pow(10.0, -(resonancedB / 20)); 370 double resonance = Math.pow(10.0, -(resonancedB / 20)); 395 double resonance = Math.pow(10.0, -(resonancedB / 20)); 537 q = (float)(Math.sqrt(0.5) * Math.pow(10.0, -(resonancedB / 20))); 538 gain = (float)Math.pow(10, -((resonancedB)) / 40.0);
|
H A D | SoftSincResampler.java | 46 float scale = (float) (1.0 / (1.0 + Math.pow(s, 1.1) / 10.0));
|
/openjdk7/jdk/test/java/lang/Math/ |
H A D | PowTests.java | 27 * @summary Tests for {Math, StrictMath}.pow 38 failures += Tests.test("StrictMath.pow(double, double)", input1, input2, 39 StrictMath.pow(input1, input2), expected); 40 failures += Tests.test("Math.pow(double, double)", input1, input2, 41 Math.pow(input1, input2), expected); 48 failures += Tests.test("StrictMath.pow(double, double)", input1, input2, 49 StrictMath.pow(input1, input2), expected); 55 failures += Tests.test("Math.pow(double, double)", input1, input2, 56 Math.pow(input1, input2), expected); 222 return StrictMath.pow(Mat [all...] |
H A D | CubeRootTests.java | 165 // We will use pow(y,3) to compute y^3. Although pow is not 166 // correctly rounded, StrictMath.pow should have at most 1 ulp 167 // error. For y > 1, pow(y_mm,3) and pow(y_pp,3) will differ 168 // from pow(y,3) by more than one ulp so the comparision of 178 err = d - StrictMath.pow(y1, 3); 186 err_adjacent = StrictMath.pow(FpUtils.nextUp(y1), 3) - d; 189 err_adjacent = StrictMath.pow(FpUtils.nextAfter(y1,0.0), 3) - d; 201 err = d - StrictMath.pow(y [all...] |
/openjdk7/jdk/test/java/math/BigInteger/ |
H A D | ModPow.java | 43 BigInteger w = base.pow(exp.intValue()).mod(m); 47 System.err.println("pow.mod: " + w);
|
/openjdk7/jdk/test/java/text/Format/MessageFormat/ |
H A D | Bug7003643.java | 43 int max = (int) (Math.pow((double)elements.length, (double)N)/0.52);
|
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | DSAParameterGenerator.java | 199 BigInteger TWOG = TWO.pow(2 * g); 234 W = W.add(V[i].multiply(TWO.pow(i * 160))); 236 W = W.add((V[n].mod(TWO.pow(b))).multiply(TWO.pow(n * 160))); 238 BigInteger TWOLm1 = TWO.pow(L - 1);
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/ |
H A D | BCELifier.java | 237 for(int i=0, pow=1; i <= Constants.MAX_ACC_FLAG; i++) { 238 if((flags & pow) != 0) { 239 if((pow == Constants.ACC_SYNCHRONIZED) && for_class) 245 pow <<= 1;
|
/openjdk7/jdk/src/share/native/java/lang/fdlibm/include/ |
H A D | jfdlibm.h | 46 #define pow jpow macro
|
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/ |
H A D | ThreadCpuTime.java | 191 double x = Math.pow(3, r); 210 double x = Math.pow(3, r);
|
H A D | ThreadUserTime.java | 191 double x = Math.pow(3, r); 209 double x = Math.pow(3, r);
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | Formatter.java | 185 s = Resources.format(Messages.SIZE_KB, trimDouble(v / Math.pow(10.0, 3))); 187 s = Resources.format(Messages.SIZE_MB, trimDouble(v / Math.pow(10.0, 6))); 189 s = Resources.format(Messages.SIZE_GB, trimDouble(v / Math.pow(10.0, 9)));
|
/openjdk7/hotspot/test/compiler/7177917/ |
H A D | Test7177917.java | 26 * Micro-benchmark for Math.pow() and Math.exp() 41 res += Math.pow(values[i][0], values[i][1]); 97 // test pow perf 112 // test pow perf again 124 // test pow perf 138 // test pow perf again
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLowFrequencyOscillator/ |
H A D | TestProcessControlLogic.java | 54 int delayCount = (int) ((Math.pow(2, delay / 1200.0) * control_rate));
|
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLTextRenderer.c | 278 * glyph image. We have determined that the pow() function can be quite 281 * lookup tables that allow us to approximate a component-wise pow() function 283 * than the equivalent pow() calls. 405 * that essentially calculates pow(x, gamma) and the other calculates 406 * pow(x, 1/gamma). These values are replicated in all three dimensions, so 410 * (pow(r,g), pow(y,g), pow(z,g) 431 GLfloat gz = (GLfloat)pow(zval, g); 432 GLfloat igz = (GLfloat)pow(zva [all...] |
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Math.java | 625 public static double pow(double a, double b) { method in class:Math 626 return StrictMath.pow(a, b); // default impl. delegates to StrictMath
|