/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.6.js | 24 ECMA Section: 15.8.2.6 Math.ceil(x) 36 - the value of Math.ceil(x) == -Math.ceil(-x) 43 var TITLE = "Math.ceil(x)"; 54 array[item++] = new TestCase( SECTION, "Math.ceil.length", 1, Math.ceil.length ); 56 array[item++] = new TestCase( SECTION, "Math.ceil(NaN)", Number.NaN, Math.ceil(Number.NaN) ); 57 array[item++] = new TestCase( SECTION, "Math.ceil(null)", 0, Math.ceil(null) ) [all...] |
15.8.2.9.js | 36 - the value of Math.floor(x) == -Math.ceil(-x) 69 array[item++] = new TestCase( SECTION, "Math.floor(NaN)==-Math.ceil(-NaN)", false, Math.floor(Number.NaN) == -Math.ceil(-Number.NaN) ); 72 array[item++] = new TestCase( SECTION, "Math.floor(0)==-Math.ceil(-0)", true, Math.floor(0) == -Math.ceil(-0) ); 76 array[item++] = new TestCase( SECTION, "Math.floor(-0)==-Math.ceil(0)", true, Math.floor(-0)== -Math.ceil(0) ); 79 array[item++] = new TestCase( SECTION, "Math.floor(Infinity)==-Math.ceil(-Infinity)", true, Math.floor(Number.POSITIVE_INFINITY) == -Math.ceil(Number.NEGATIVE_INFINITY) ); 82 array[item++] = new TestCase( SECTION, "Math.floor(-Infinity)==-Math.ceil(Infinity)", true, Math.floor(Number.NEGATIVE_INFINITY) == -Math.ceil(Number.POSITIVE_INFINITY) (…) [all...] |
/frameworks/base/core/java/android/util/ |
FloatMath.java | 48 public static native float ceil(float value); method in class:FloatMath
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
FloatMath_Delegate.java | 57 /*package*/ static float ceil(float value) { method in class:FloatMath_Delegate 58 return (float)Math.ceil(value);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
FloatMathTest.java | 40 assertEquals(79, FloatMath.ceil(78.89f), 0); 41 assertEquals(-78, FloatMath.ceil(-78.89f), 0);
|
/bionic/libm/i387/ |
s_ceil.S | 40 ENTRY(ceil) function
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncCeiling.java | 45 return new XNumber(Math.ceil(m_arg0.execute(xctxt).num()));
|
/system/extras/tests/bionic/libstdc++/ |
test_cmath.cpp | 65 using ::ceil;
|
/external/iproute2/tc/ |
q_htb.c | 39 " [ceil R2] [cburst B2] [mtu MTU] [quantum Q]\n" 45 " ceil definite upper class rate (no borrows) {rate}\n" 46 " cburst burst but for ceil {computed}\n" 166 } else if (strcmp(*argv, "ceil") == 0) { 168 if (opt.ceil.rate) { 169 fprintf(stderr, "Double \"ceil\" spec\n"); 172 if (get_rate(&opt.ceil.rate, *argv)) { 173 explain1("ceil"); 206 /* if ceil params are missing, use the same as rate */ 207 if (!opt.ceil.rate) opt.ceil = opt.rate [all...] |
/bionic/libstdc++/include/ |
cmath | 67 using ::ceil;
|
/cts/tests/tests/util/src/android/util/cts/ |
FloatMathTest.java | 31 method = "ceil", 60 // ceil 61 assertEquals(8.0f, FloatMath.ceil(7.2f)); 62 assertEquals(-6.0f, FloatMath.ceil(-6.3f));
|
/external/v8/src/ |
conversions-inl.h | 76 return (x >= 0) ? floor(x) : ceil(x); 99 x = (x >= 0) ? floor(x) : ceil(x) + two32;
|
/ndk/sources/cxx-stl/gabi++/include/ |
cmath | 67 using ::ceil;
|
/ndk/sources/cxx-stl/system/include/ |
cmath | 67 using ::ceil;
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerGaugePreference.java | 45 mProgress = (int) Math.ceil(percentOfMax); 47 R.string.percentage, (int) Math.ceil(percentOfTotal));
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
cmath | 65 using ::ceil;
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/ |
cmath | 65 using ::ceil;
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/system/include/ |
cmath | 67 using ::ceil;
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/system/include/ |
cmath | 67 using ::ceil;
|
/external/llvm/utils/lit/lit/ |
Util.py | 102 power = int(math.ceil(math.log(maxValue, 10))) 105 N = int(math.ceil(maxValue / barH)) 124 pDigits = int(math.ceil(math.log(maxValue, 10))) 128 cDigits = int(math.ceil(math.log(len(items), 10)))
|
/external/qemu/android/skin/ |
scaler.c | 101 drect->size.w = (int)(ceil((sx + sw) * scale + scaler->xdisp)) - drect->pos.x; 102 drect->size.h = (int)(ceil((sy + sh) * scale + scaler->ydisp)) - drect->pos.y; 133 op.rd.w = (int)(ceil((sx + sw) * scaler->scale + scaler->xdisp)) - op.rd.x; 134 op.rd.h = (int)(ceil((sy + sh) * scaler->scale + scaler->ydisp)) - op.rd.y;
|
/external/quake/quake/src/QW/client/ |
d_sprite.c | 216 vtop = ceil (r_spritedesc.pverts[i].v); 223 vbottom = ceil (pnext->v); 231 // adjust u to ceil the integer portion 278 vtop = ceil (vvert); 291 vbottom = ceil (vnext); 311 // adjust u to ceil the integer portion 421 ymin = ceil (ymin); 422 ymax = ceil (ymax);
|
/external/quake/quake/src/WinQuake/ |
d_sprite.cpp | 216 vtop = ceil (r_spritedesc.pverts[i].v);
223 vbottom = ceil (pnext->v);
231 // adjust u to ceil the integer portion
278 vtop = ceil (vvert);
291 vbottom = ceil (vnext);
311 // adjust u to ceil the integer portion
421 ymin = ceil (ymin);
422 ymax = ceil (ymax);
|
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/ |
LayoutViewer.java | 188 e.gc.setLineWidth((int) Math.ceil(0.3 / mScale)); 196 e.gc.setClipping(0, 0, mTree.viewNode.width + (int) Math.ceil(0.3 / mScale), 197 mTree.viewNode.height + (int) Math.ceil(0.3 / mScale)); 241 e.gc.setLineWidth((int) Math.ceil(2 / mScale)); 263 + (int) Math.ceil(0.3 / mScale)); 267 + (int) Math.ceil(0.3 / mScale)); 303 int scaledWidth = (int) Math.ceil(mTree.viewNode.width * mScale); 304 int scaledHeight = (int) Math.ceil(mTree.viewNode.height * mScale);
|
/bionic/libm/src/ |
s_ceil.c | 18 * ceil(x) 23 * Inexact flag raised if x not equal to ceil(x). 32 ceil(double x) function
|