Searched refs:floor (Results 26 - 50 of 79) sorted by relevance

1234

/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpng.c1200 * performs a floor() unlike C arithmetic - using a
1265 /* Use modf here, not floor and subtract, so that
1275 d = floor(fp + .5);
1542 double r = floor(100000 * fp + .5);
1577 r = floor(r+.5);
1698 double r = floor(1E10/a+.5);
1720 r = floor(r+.5);
1742 r = floor(r+.5);
2102 double r = floor(255*pow(value/255.,gamma_val*.00001)+.5);
2125 double r = floor(6553
[all...]
/openjdk7/jdk/src/share/classes/sun/dc/
H A DDuctusRenderingEngine.java220 float newax = (float) Math.floor(ox + rnd) + norm;
221 float neway = (float) Math.floor(oy + rnd) + norm;
472 float newax = (float) Math.floor(ox) + 0.5f;
473 float neway = (float) Math.floor(oy) + 0.5f;
/openjdk7/jdk/test/java/lang/instrument/
H A DATransformerManagementTestCase.java87 int randIndex = (int)Math.floor(Math.random() * kTransformerSamples.length);
/openjdk7/jdk/src/share/native/java/lang/fdlibm/include/
H A Dfdlibm.h141 extern double floor __P((double));
/openjdk7/jdk/src/share/classes/sun/swing/text/
H A DTextComponentPrintable.java462 layout((int)Math.floor(pf.getImageableWidth()));
528 (int)Math.floor(pf.getImageableHeight()) - borderInsets.top
539 (int)Math.floor(pf.getImageableWidth()),
540 (int)Math.floor(pf.getImageableHeight()));
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLRenderer.c622 bx11 = (jfloat) floor(bx11);
623 by11 = (jfloat) floor(by11);
689 bx11 = (jfloat) floor(bx11);
690 by11 = (jfloat) floor(by11);
/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A De_lgamma_r.c189 z = floor(y);
192 y = 2.0*(y - floor(y)); /* y = |x| mod 2.0 */
H A Dk_rem_pio2.c54 * x[i] = floor(z)
91 * double scalbn(), floor();
215 z -= 8.0*floor(z*0.125); /* trim off integer >= 8 */
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRCompositeManager.java265 renderReferenceX = (int) Math.floor(XRUtils
267 renderReferenceY = (int) Math.floor(XRUtils
H A DXRPMBlitLoops.java257 minX = Math.floor(minX);
258 minY = Math.floor(minY);
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DDrawImage.java156 int itx = (int) Math.floor(tx + 0.5);
157 int ity = (int) Math.floor(ty + 0.5);
289 int idx = (int) Math.floor(dx + 0.5);
290 int idy = (int) Math.floor(dy + 0.5);
442 int dx1 = (int) Math.floor(ddx1);
443 int dy1 = (int) Math.floor(ddy1);
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsopt.c106 #define DOUBLE_TO_1FIXED14(x) ((cmsS1Fixed14Number) floor((x) * 16384.0 + 0.5))
427 x0 = (int) floor(px);
428 y0 = (int) floor(py);
429 z0 = (int) floor(pz);
430 w0 = (int) floor(pw);
449 x0 = (int) floor(px);
450 y0 = (int) floor(py);
451 z0 = (int) floor(pz);
466 x0 = (int) floor(px);
742 int AtBegin = (int) floor((cmsFloat64Numbe
[all...]
H A Dcmssm.c199 *alpha = (int) floor(((sp->alpha * (SECTORS)) / 360.0) );
200 *theta = (int) floor(((sp->theta * (SECTORS)) / 180.0) );
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/
H A Dimg_colors.c330 int red = (int)(floor(r*255.0/(tablesize - 1)));
333 int green = (int)(floor(g*255.0/(tablesize - 1)));
336 int blue = (int)(floor(b*255.0/(tablesize - 1)));
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DPiscesRenderingEngine.java427 float x_adjust = (float)Math.floor(coords[lastCoord] + lval) +
429 float y_adjust = (float)Math.floor(coords[lastCoord+1] + lval) +
/openjdk7/jdk/src/share/classes/sun/font/
H A DFileFontStrike.java706 result.x = (int) Math.floor(pt.x);
707 result.y = (int) Math.floor(pt.y);
715 result.x = (int)Math.floor(pt.x + topLeftX);
716 result.y = (int)Math.floor(pt.y + topLeftY);
/openjdk7/jdk/src/share/classes/java/lang/
H A DStrictMath.java313 * value of {@code -StrictMath.floor(-x)}.
339 public static double floor(double a) { method in class:StrictMath
344 * Internal method to share logic between floor and ceil.
604 * equivalently, a fixed point of the method {@link #floor
605 * floor}. A value is a fixed point of a one-argument
/openjdk7/jdk/src/share/classes/java/util/
H A DTreeSet.java424 public E floor(E e) { method in class:TreeSet
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DConcurrentSkipListSet.java345 public E floor(E e) { method in class:ConcurrentSkipListSet
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DVertexCacher.cpp569 float px1 = floor(px);
570 float py1 = floor(py);
618 float ox11 = floor(ox);
619 float oy11 = floor(oy);
/openjdk7/jdk/test/java/lang/Math/
H A DPowTests.java269 (a != Math.floor(a) )) { // only integers are fixed-points of floor
/openjdk7/jdk/src/share/native/sun/java2d/pipe/
H A DShapeSpanIterator.c176 jfloat newx = (jfloat) floor(x + 0.25f) + 0.25f; \
177 jfloat newy = (jfloat) floor(y + 0.25f) + 0.25f; \
1032 bumpx = (jint) floor(slope);
1034 bumperr = FRACTTOJINT(slope - floor(slope));
1214 pathbox[0] = (jint) floor(pd->pathlox);
1215 pathbox[1] = (jint) floor(pd->pathloy);
/openjdk7/jdk/src/share/classes/java/awt/
H A DColor.java819 * can be any floating-point number. The floor of this number is
844 float h = (hue - (float)Math.floor(hue)) * 6.0f;
845 float f = h - (float)java.lang.Math.floor(h);
951 * can be any floating-point number. The floor of this number is
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/
H A DGraphicsTests.java383 return new Dimension((int) Math.floor(w * scalex),
384 (int) Math.floor(h * scaley));
/openjdk7/jdk/test/java/util/Collection/
H A DMOAT.java971 Integer floor,
975 equal(m.floorKey(i), floor);
984 Integer floor,
988 equal(m.floor(i), floor);
968 checkNavigableMapKeys(NavigableMap<Integer,Integer> m, Integer i, Integer lower, Integer floor, Integer ceiling, Integer higher) argument
981 checkNavigableSetKeys(NavigableSet<Integer> m, Integer i, Integer lower, Integer floor, Integer ceiling, Integer higher) argument

Completed in 757 milliseconds

1234