/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/ |
H A D | w_gamma.c | 51 if(floor(x)==x&&x<=0.0)
|
H A D | w_gamma_r.c | 48 if(floor(x)==x&&x<=0.0)
|
H A D | w_lgamma.c | 51 if(floor(x)==x&&x<=0.0)
|
H A D | w_lgamma_r.c | 48 if(floor(x)==x&&x<=0.0)
|
H A D | s_floor.c | 28 * floor(x) 33 * Inexact flag raised if x not equal to floor(x). 45 double floor(double x) function 47 double floor(x)
|
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | ParallelogramUtils.h | 49 bmin = (jint) floor(vmin); \ 52 bmin = (jint) floor(vmin + 0.5); \ 53 bmax = (jint) floor(vmax + 0.5); \
|
H A D | DrawParallelogram.c | 37 jint ix1 = (jint) floor(X1); \ 38 jint ix2 = (jint) floor(X2); \ 39 jint iy1 = (jint) floor(Y1); \ 40 jint iy2 = (jint) floor(Y2); \ 63 (pEDGE)->ystart = (jint) floor((Y0) + 0.5); \ 64 (pEDGE)->yend = (jint) floor((Y1) + 0.5); \ 128 iy1 = (jint) floor(oy0 + 0.5); 129 iy2 = (jint) floor(oy0 + dy1 + ldy1 + dy2 + ldy2 + 0.5);
|
H A D | FillParallelogram.c | 63 iy1 = (jint) floor(y0 + 0.5); 64 iy2 = (jint) floor(y0 + dy1 + dy2 + 0.5); 108 cy1 = (jint) floor(dy1 + 0.5); 109 cy2 = (jint) floor(dy2 + 0.5);
|
H A D | MaskFill.c | 121 jint rx2 = (jint) floor(x2); 122 jint ry2 = (jint) floor(y2); 386 pEdge->xnextx = nextx = floor(x) + 1.0; 389 pEdge->xnexty = x + ((floor(y) + 1) - y) * linedx; 474 jdouble xpos = floor(xmid); \ 698 iy1 = (jint) floor(y0); 990 iy1 = (jint) floor(oy0);
|
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/functions/ |
H A D | FuncFloor.java | 47 return new XNumber(java.lang.Math.floor(m_arg0.execute(xctxt).num()));
|
H A D | FuncRound.java | 51 return new XNumber(java.lang.Math.floor(val
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Point.java | 171 this.x = (int) Math.floor(x+0.5); 172 this.y = (int) Math.floor(y+0.5);
|
/openjdk7/jdk/test/java/lang/instrument/ |
H A D | TransformerManagementThreadRemoveTests.java | 73 int factor = (int)Math.floor(TOTAL_THREADS / REMOVE_THREADS); 114 int choose = (int)Math.floor(Math.random() * size);
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | NavigableSet.java | 41 * {@code floor}, {@code ceiling}, and {@code higher} return elements 113 E floor(E e); method in interface:NavigableSet
|
/openjdk7/jdk/src/share/classes/java/awt/font/ |
H A D | GlyphVector.java | 273 int l = (int)Math.floor(rect.getX() + x); 274 int t = (int)Math.floor(rect.getY() + y); 561 int l = (int)Math.floor(rect.getX() + x); 562 int t = (int)Math.floor(rect.getY() + y);
|
/openjdk7/jdk/src/solaris/classes/sun/font/ |
H A D | XRTextRenderer.java | 107 posX = (int) Math.floor(x); 108 posY = (int) Math.floor(y); 120 posX = (int) Math.floor(advX); 121 posY = (int) Math.floor(advY);
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | GlyphList.java | 332 metrics[0] = (int)Math.floor(positions[(i<<1)] + gposx + gx); 333 metrics[1] = (int)Math.floor(positions[(i<<1)+1] + gposy + gy); 335 metrics[0] = (int)Math.floor(gposx + gx); 336 metrics[1] = (int)Math.floor(gposy + gy); 492 /* floor is safe and correct because all glyph widths, heights 495 bounds[0] = (int)Math.floor(bx0); 496 bounds[1] = (int)Math.floor(by0); 497 bounds[2] = (int)Math.floor(bx1); 498 bounds[3] = (int)Math.floor(by1);
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Math.java | 396 * value of {@code -Math.floor(-x)}. 423 public static double floor(double a) { method in class:Math 424 return StrictMath.floor(a); // default impl. delegates to StrictMath 613 * equivalently, a fixed point of the method {@link #floor 614 * floor}. A value is a fixed point of a one-argument 651 return (int)floor(a + 0.5f); 678 return (long)floor(a + 0.5d);
|
/openjdk7/jdk/src/share/native/java/lang/fdlibm/include/ |
H A D | jfdlibm.h | 51 #define floor jfloor macro
|
/openjdk7/jdk/src/windows/native/sun/java2d/windows/ |
H A D | GDIRenderer.cpp | 749 mx = x1 = transX + (int) floor(coords[index++]); 750 my = y1 = transY + (int) floor(coords[index++]); 760 x1 = transX + (int) floor(coords[index++]); 761 y1 = transY + (int) floor(coords[index++]); 771 ctrlpts[0].x = transX + (int) floor(coords[index++]); 772 ctrlpts[0].y = transY + (int) floor(coords[index++]); 773 ctrlpts[2].x = transX + (int) floor(coords[index++]); 774 ctrlpts[2].y = transY + (int) floor(coords[index++]); 790 ctrlpts[0].x = transX + (int) floor(coords[index++]); 791 ctrlpts[0].y = transY + (int) floor(coord [all...] |
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | RectangularShape.java | 343 double x1 = Math.floor(x); 344 double y1 = Math.floor(y);
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | PixelToParallelogramConverter.java | 174 return Math.floor(v + normRoundingBias) + normPosition; 238 int ix1 = (int) Math.floor(x1 - sg2d.transX); 239 int iy1 = (int) Math.floor(y1 - sg2d.transY); 240 int ix2 = (int) Math.floor(x2 - sg2d.transX); 241 int iy2 = (int) Math.floor(y2 - sg2d.transY);
|
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
H A D | CompositeCRenderer.java | 255 double newX = Math.floor(compositingBounds.getX() + sg2d.transX); 256 double newY = Math.floor(compositingBounds.getY() + sg2d.transY); 263 double newX = Math.floor(compositingBounds.getX()); 264 double newY = Math.floor(compositingBounds.getY()); 320 double newX = Math.floor(bounds.getX()); 321 double newY = Math.floor(bounds.getY());
|
/openjdk7/jdk/test/java/lang/Math/ |
H A D | CeilAndFloorTests.java | 27 * @summary Check for correct implementation of Math.ceil and Math.floor 43 failures += Tests.test("Math.floor", input, Math.floor(input), expected); 44 failures += Tests.test("StrictMath.floor", input, StrictMath.floor(input), expected);
|
/openjdk7/jdk/test/java/util/NavigableMap/ |
H A D | LockStep.java | 219 equal(null, s.floor(1)); 252 equal(e, s.floor(e)); 570 Integer floor = (Integer) m.floorKey(x); 572 if (floor != null) return floor; 579 Integer floor = (Integer) s.floor(x); 581 if (floor != null) return floor; 598 check(s.floor( [all...] |