Searched refs:rint (Results 1 - 15 of 15) sorted by relevance
/openjdk7/jdk/test/java/awt/print/Dialog/ |
H A D | PaperSizeError.java | 64 double a4w = Math.rint((a4.getX(1) * 72.0) / Size2DSyntax.INCH); 65 double a4h = Math.rint((a4.getY(1) * 72.0) / Size2DSyntax.INCH); 103 if (a4w != Math.rint(dw1) || a4h != Math.rint(dh1)) { 104 System.out.println("Got " + Math.rint(dw1) + "x" + Math.rint(dh1) +
|
/openjdk7/jdk/test/java/lang/Math/ |
H A D | Rint.java | 27 * @summary Check for correct implementation of Math.rint(double) 39 failures += Tests.test("Math.rint", input, Math.rint(input), expected); 40 failures += Tests.test("Math.rint", -input, Math.rint(-input), -expected); 41 failures += Tests.test("StrictMath.rint", 42 input, StrictMath.rint(input), expected); 43 failures += Tests.test("StrictMath.rint", -input, 44 StrictMath.rint(-input), -expected); 116 System.err.println("Testing {Math, StrictMath}.rint incurre [all...] |
H A D | CeilAndFloorTests.java | 91 if (neighborDown==Math.rint(neighborDown)) { 102 if (neighborUp==Math.rint(neighborUp)) {
|
/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/ |
H A D | e_scalb.c | 59 if (rint(fn)!=fn) return (fn-fn)/(fn-fn);
|
H A D | s_rint.c | 28 * rint(x) 34 * Inexact flag raised if x not equal to rint(x). 50 double rint(double x) function 52 double rint(x)
|
H A D | k_standard.c | 427 if(x<zero&&rint(y)!=y) exc.retval = -HUGE; 431 if(x<zero&&rint(y)!=y) exc.retval = -HUGE_VAL;
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Math.java | 442 public static double rint(double a) { method in class:Math 443 return StrictMath.rint(a); // default impl. delegates to StrictMath
|
H A D | StrictMath.java | 404 public static double rint(double a) { method in class:StrictMath 410 * these cases, rint of the argument is the argument.
|
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | RasterPrinterJob.java | 537 float x = (float)Math.rint( 540 float y = (float)Math.rint( 732 double w = Math.rint((dim[0]*72.0)/Size2DSyntax.INCH); 733 double h = Math.rint((dim[1]*72.0)/Size2DSyntax.INCH); 743 ix = Math.rint( 745 iy = Math.rint( 747 iw = Math.rint( 749 ih = Math.rint( 1579 w = Math.rint((210.0*ptsPerInch)/mmPerInch); 1580 h = Math.rint((297. [all...] |
H A D | PSPathGraphics.java | 611 (float)Math.rint(scaledBounds.width+0.5), 612 (float)Math.rint(scaledBounds.height+0.5),
|
H A D | PrintJob2D.java | 1112 float w = (float)Math.rint(WIDTHS[i] / 72.0); 1113 float h = (float)Math.rint(LENGTHS[i] / 72.0);
|
/openjdk7/jdk/src/share/native/java/lang/fdlibm/include/ |
H A D | fdlibm.h | 183 extern double rint __P((double));
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WPathGraphics.java | 1312 (float)Math.rint(scaledBounds.width+0.5), 1313 (float)Math.rint(scaledBounds.height+0.5),
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/report/ |
H A D | J2DAnalyzer.java | 789 val = Math.rint(val);
|
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | AffineTransform.java | 3817 return Math.rint(matval * 1E15) / 1E15;
|
Completed in 76 milliseconds