/openjdk10/nashorn/test/script/basic/ |
H A D | JDK-8008298.js | 53 if (Math.ceil(1) != 1) { 54 fail("Math.ceil failed on int value"); 57 if (Math.ceil(2147483648) != 2147483648) { 58 fail("Math.ceil failed on long value"); 61 if (Math.ceil(-0.3) != 0) { 62 fail("Math.ceil failed on double value");
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xpath/internal/functions/ |
H A D | FuncCeiling.java | 46 return new XNumber(Math.ceil(m_arg0.execute(xctxt).num()));
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/lang/ |
H A D | Math_round.java | 59 public static double ceil(double arg) { method in class:Math_round 60 return Math.ceil(arg); 65 runTest("ceil", input);
|
/openjdk10/jdk/src/java.base/share/native/libfdlibm/ |
H A D | s_ceil.c | 27 * ceil(x) 32 * Inexact flag raised if x not equal to ceil(x). 44 double ceil(double x) function 46 double ceil(x)
|
H A D | jfdlibm.h | 52 #define ceil jceil macro
|
H A D | fdlibm.h | 137 extern double ceil __P((double));
|
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/ |
H A D | Dimension.java | 154 this.width = (int) Math.ceil(width); 155 this.height = (int) Math.ceil(height);
|
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/font/ |
H A D | GlyphVector.java | 275 int r = (int)Math.ceil(rect.getMaxX() + x); 276 int b = (int)Math.ceil(rect.getMaxY() + y); 563 int r = (int)Math.ceil(rect.getMaxX() + x); 564 int b = (int)Math.ceil(rect.getMaxY() + y);
|
/openjdk10/jdk/src/java.desktop/share/native/libmlib_image/ |
H A D | mlib_SysMath.h | 40 #define mlib_ceil ceil
|
/openjdk10/jdk/src/java.desktop/unix/classes/sun/java2d/opengl/ |
H A D | GLXSurfaceData.java | 131 r.width = (int) Math.ceil(r.width * scale); 132 r.height = (int) Math.ceil(r.height * scale); 220 r.width = (int) Math.ceil(r.width * scale); 221 r.height = (int) Math.ceil(r.height * scale);
|
/openjdk10/jdk/src/java.desktop/windows/classes/sun/java2d/opengl/ |
H A D | WGLSurfaceData.java | 168 r.width = (int) Math.ceil(r.width * scaleX); 169 r.height = (int) Math.ceil(r.height * scaleY); 230 this.width = (int) Math.ceil(width * scaleX); 231 this.height = (int) Math.ceil(height * scaleY); 244 r.width = (int) Math.ceil(r.width * scaleX); 245 r.height = (int) Math.ceil(r.height * scaleY);
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/marlin/ |
H A D | MarlinProperties.java | 225 final int ceil = FloatMath.ceil_int( ((float) val) / norm); 226 return ceil * norm;
|
/openjdk10/hotspot/test/testlibrary/jittester/src/jdk/test/lib/jittester/factories/ |
H A D | VariableDeclarationBlockFactory.java | 54 int limit = (int) Math.ceil(PseudoRandom.random() * ProductionParams.dataMemberLimit.value());
|
/openjdk10/jdk/src/java.desktop/share/native/libawt/java2d/loops/ |
H A D | ParallelogramUtils.h | 50 bmax = (jint) ceil(vmax); \
|
/openjdk10/jdk/test/java/awt/image/multiresolution/ |
H A D | MultiResolutionRenderingHintsTest.java | 182 this.width = (int) Math.ceil(scale * width); 183 this.height = (int) Math.ceil(scale * height); 189 int sx = (int) Math.ceil(x * scale); 190 int sy = (int) Math.ceil(y * scale);
|
/openjdk10/jdk/test/java/awt/image/MultiResolutionImage/ |
H A D | MultiResolutionDrawImageWithTransformTest.java | 188 this.width = (int) Math.ceil(scale * width); 189 this.height = (int) Math.ceil(scale * height); 200 int sx = (int) Math.ceil(x * scale); 201 int sy = (int) Math.ceil(y * scale);
|
/openjdk10/jdk/src/java.desktop/unix/classes/sun/java2d/xr/ |
H A D | XRPMBlitLoops.java | 212 dx1 = Math.ceil(dx1 - 0.5); 213 dy1 = Math.ceil(dy1 - 0.5); 214 dx2 = Math.ceil(dx2 - 0.5); 215 dy2 = Math.ceil(dy2 - 0.5); 264 minX = Math.ceil(minX - 0.5); 265 minY = Math.ceil(minY - 0.5); 266 maxX = Math.ceil(maxX - 0.5); 267 maxY = Math.ceil(maxY - 0.5); 283 maxX = Math.ceil(maxX); 284 maxY = Math.ceil(max [all...] |
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/ |
H A D | NativeMath.java | 245 * ECMA 15.8.2.6 ceil(x) 250 * @return ceil of argument 253 public static double ceil(final Object self, final Object x) { method in class:NativeMath 254 return Math.ceil(JSType.toNumber(x)); 258 * ECMA 15.8.2.6 ceil(x) - specialized version for ints 263 * @return ceil of argument 266 public static int ceil(final Object self, final int x) { method in class:NativeMath 271 * ECMA 15.8.2.6 ceil(x) - specialized version for longs 276 * @return ceil of argument 279 public static long ceil(fina method in class:NativeMath 292 public static double ceil(final Object self, final double x) { method in class:NativeMath [all...] |
/openjdk10/hotspot/src/share/tools/IdealGraphVisualizer/Filter/src/com/sun/hotspot/igv/filter/ |
H A D | GradientColorFilter.java | 90 // Use Math.ceil() to make values above zero distinguishable from zero 92 index = (int) Math.ceil(shades.length * Math.log(1 + normalized) / Math.log(1 + interval)); 94 index = (int) Math.ceil(shades.length * normalized / interval);
|
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/geom/ |
H A D | RectangularShape.java | 345 double x2 = Math.ceil(x + width); 346 double y2 = Math.ceil(y + height);
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/border/ |
H A D | StrokeBorder.java | 136 * @see Math#ceil 140 int size = (int) Math.ceil(this.stroke.getLineWidth());
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | TablePrintable.java | 248 headerTextSpace = (int)Math.ceil(hRect.getHeight()); 259 footerTextSpace = (int)Math.ceil(fRect.getHeight()); 464 tx = -(int)(Math.ceil(rect.getWidth()) - imgWidth); 467 int ty = (int)Math.ceil(Math.abs(rect.getY()));
|
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/java2d/ |
H A D | CompositeCRenderer.java | 257 double newW = Math.ceil(compositingBounds.getWidth()) + (newX < compositingBounds.getX() ? 1 : 0); 258 double newH = Math.ceil(compositingBounds.getHeight()) + (newY < compositingBounds.getY() ? 1 : 0); 265 double newW = Math.ceil(compositingBounds.getWidth()) + (newX < compositingBounds.getX() ? 1 : 0); 266 double newH = Math.ceil(compositingBounds.getHeight()) + (newY < compositingBounds.getY() ? 1 : 0); 322 double newW = Math.ceil(bounds.getWidth()) + (newX < bounds.getX() ? 1 : 0); 323 double newH = Math.ceil(bounds.getHeight()) + (newY < bounds.getY() ? 1 : 0);
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/pisces/ |
H A D | Renderer.java | 276 final int firstCrossing = Math.max((int)Math.ceil(y1), boundsMinY); 277 final int lastCrossing = Math.min((int)Math.ceil(y2), boundsMaxY); 515 int spminX = Math.max((int)Math.ceil(edgeMinX), boundsMinX); 516 int spmaxX = Math.min((int)Math.ceil(edgeMaxX), boundsMaxX); 517 int spminY = Math.max((int)Math.ceil(edgeMinY), boundsMinY); 518 int spmaxY = Math.min((int)Math.ceil(edgeMaxY), boundsMaxY);
|
/openjdk10/hotspot/test/compiler/codecache/cli/codeheapsize/ |
H A D | JVMStartupRunner.java | 131 scaledSize = (long) Math.ceil(scale * unscaledSize);
|