/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/ |
H A D | DurationDV.java | 293 carry = (int)Math.floor(dtemp/60);
|
H A D | AbstractDateTimeDV.java | 737 return (int) Math.floor((float) a / b);
|
/openjdk7/jdk/test/java/awt/print/PrinterJob/ValidatePage/ |
H A D | ValidatePage.java | 92 d = Math.floor(d) /10.0;
|
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/ |
H A D | lcms2_internal.h | 155 // 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 D | cmsplugin.c | 421 return ((cmsS15Fixed16Number) floor((v)*65536.0 + 0.5));
|
H A D | cmsintrp.c | 238 cell0 = (int) floor(val2); 303 cell0 = (int) floor(val2);
|
H A D | cmsps2.c | 240 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 D | cmsio0.c | 946 Icc -> Version = BaseToBase((cmsUInt32Number) floor(Version * 100.0), 10, 16) << 16;
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Rectangle.java | 409 // 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 D | sharedRuntimeTrig.cpp | 151 * 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 D | TextTests.java | 586 if (fsize != Math.floor(fsize)) {
|
/openjdk7/jdk/src/share/classes/sun/java2d/ |
H A D | SunGraphics2D.java | 1587 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 D | TextLine.java | 355 int ix = (int)Math.floor(x); 356 int iy = (int)Math.floor(y);
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Font.cpp | 754 x += (long)floor(dx+0.5); 755 y += (long)floor(dy+0.5);
|
H A D | awt_PrintJob.cpp | 52 #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 D | SynthTreeUI.java | 585 : x - (int)Math.floor(iconWidth / 2.0);
|
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/ |
H A D | D3DTextRenderer.cpp | 758 if ((r)<0) (l) = ((int)floor(r)); else (l) = ((int)(r))
|
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | DrawGlyphList.c | 43 * 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 D | FormattedFloatingDecimal.java | 669 * decExp = floor( log10(d) ) 692 * take the floor and call it decExp. 697 decExp = (int)Math.floor(
|
H A D | FloatingDecimal.java | 592 * 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 D | OGLTextRenderer.c | 1060 if ((r)<0) (l) = ((int)floor(r)); else (l) = ((int)(r))
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | SunToolkit.java | 927 scaleFactor = Math.floor(scaleFactor);
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | CSS.java | 3230 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 D | BasisLibrary.java | 226 return (d<-0.5 || d>0.0)?Math.floor(d+0.5):((d==0.0)?
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | TreeMap.java | 1048 public E floor(E e) { return m.floorKey(e); } method in class:TreeMap.KeySet
|