MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / ceil

Method ceil

Ports/CLDC11/src/java/lang/Math.java:62–64  ·  view source on GitHub ↗
(double a)

Source from the content-addressed store, hash-verified

60
61 /// Returns the smallest (closest to negative infinity) double value that is not less than the argument and is equal to a mathematical integer. Special cases: If the argument value is already equal to a mathematical integer, then the result is the same as the argument. If the argument is NaN or an infinity or positive zero or negative zero, then the result is the same as the argument. If the argument value is less than zero but greater than -1.0, then the result is negative zero. Note that the value of Math.ceil(x) is exactly the value of -Math.floor(-x).
62 public static double ceil(double a){
63 return 0.0d; //TODO codavaj!!
64 }
65
66 /// Returns the trigonometric cosine of an angle. Special case: If the argument is NaN or an infinity, then the result is NaN.
67 public static double cos(double a){

Callers 15

initSizeMethod · 0.95
setClipMethod · 0.95
fontLeadingMethod · 0.95
fontHeightMethod · 0.95
drawStringMethod · 0.95
getHeightMethod · 0.95
setClipMethod · 0.95
drawScreenBufferMethod · 0.95
roundMethod · 0.95
stringWidthMethod · 0.95
charWidthMethod · 0.95
triMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected