Searched refs:floor (Results 51 - 75 of 79) sorted by relevance

1234

/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DDurationDV.java293 carry = (int)Math.floor(dtemp/60);
H A DAbstractDateTimeDV.java737 return (int) Math.floor((float) a / b);
/openjdk7/jdk/test/java/awt/print/PrinterJob/ValidatePage/
H A DValidatePage.java92 d = Math.floor(d) /10.0;
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dlcms2_internal.h155 // Fast floor conversion logic. Thanks to Sree Kotay and Stuart Nixon
162 return (int) floor(val);
164 const cmsFloat64Number _lcms_double2fixmagic = 68719476736.0 * 1.5; // 2^36 * 1.5, (52-16=36) uses limited precision to floor
180 // Fast floor restricted to 0..65535.0
H A Dcmsplugin.c421 return ((cmsS15Fixed16Number) floor((v)*65536.0 + 0.5));
H A Dcmsintrp.c238 cell0 = (int) floor(val2);
303 cell0 = (int) floor(val2);
H A Dcmsps2.c240 cell0 = (int) floor(val2);
266 floor cvi % tab val2 val2 cell0
284 floor cvi % y0 (y1-y0) val2 floor(val2)
323 return (cmsUInt8Number) floor((cmsFloat64Number) w / 257.0 + 0.5);
539 _cmsIOPrintf(m, "floor cvi "); // tab val2 val2 cell0
553 _cmsIOPrintf(m, "floor cvi "); // y0 (y1-y0) val2 floor(val2)
H A Dcmsio0.c946 Icc -> Version = BaseToBase((cmsUInt32Number) floor(Version * 100.0), 10, 16) << 16;
/openjdk7/jdk/src/share/classes/java/awt/
H A DRectangle.java409 // range and floor-ed or ceiling-ed, depending on the boolean.
417 return (int) (doceil ? Math.ceil(v) : Math.floor(v));
/openjdk7/hotspot/src/share/vm/runtime/
H A DsharedRuntimeTrig.cpp151 * x[i] = floor(z)
188 * double scalbn(), floor();
293 z -= 8.0*floor(z*0.125); /* trim off integer >= 8 */
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/
H A DTextTests.java586 if (fsize != Math.floor(fsize)) {
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSunGraphics2D.java1587 transX = (int) Math.floor(dtx + 0.5);
1588 transY = (int) Math.floor(dty + 0.5);
1836 x = (int) Math.floor(Math.min(Math.min(d[0], d[2]),
1838 y = (int) Math.floor(Math.min(Math.min(d[1], d[3]),
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLine.java355 int ix = (int)Math.floor(x);
356 int iy = (int)Math.floor(y);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Font.cpp754 x += (long)floor(dx+0.5);
755 y += (long)floor(dy+0.5);
H A Dawt_PrintJob.cpp52 #define ROUND_TO_LONG(num) ((long) floor((num) + 0.5))
57 #define ROUND_TO_INT(num) ((int) floor((num) + 0.5))
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTreeUI.java585 : x - (int)Math.floor(iconWidth / 2.0);
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DTextRenderer.cpp758 if ((r)<0) (l) = ((int)floor(r)); else (l) = ((int)(r))
/openjdk7/jdk/src/share/native/sun/font/
H A DDrawGlyphList.c43 * We only call "floor" when value is < 0 (ie rarely).
46 * "floor" shows up as a significant cost in app-level microbenchmarks.
51 if ((r)<0) (l) = ((int)floor(r)); else (l) = ((int)(r))
83 /* Add 0.5 to x and y and then use floor (or an equivalent operation)
600 * We can use an (int) cast here since the floor operation
/openjdk7/jdk/src/share/classes/sun/misc/
H A DFormattedFloatingDecimal.java669 * decExp = floor( log10(d) )
692 * take the floor and call it decExp.
697 decExp = (int)Math.floor(
H A DFloatingDecimal.java592 * decExp = floor( log10(d) )
615 * take the floor and call it decExp.
620 decExp = (int)Math.floor(
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLTextRenderer.c1060 if ((r)<0) (l) = ((int)floor(r)); else (l) = ((int)(r))
/openjdk7/jdk/src/share/classes/sun/awt/
H A DSunToolkit.java927 scaleFactor = Math.floor(scaleFactor);
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCSS.java3230 Math.floor(iter.getMaximumSpan(targetSpan)) :
3238 int adj = (int)Math.floor(adjustmentFactor * availableSpan);
3266 (int)Math.floor(iter.getMaximumSpan(targetSpan)) - curSpan :
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/
H A DBasisLibrary.java226 return (d<-0.5 || d>0.0)?Math.floor(d+0.5):((d==0.0)?
/openjdk7/jdk/src/share/classes/java/util/
H A DTreeMap.java1048 public E floor(E e) { return m.floorKey(e); } method in class:TreeMap.KeySet

Completed in 116 milliseconds

1234