/external/webkit/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...] |
/bionic/libm/man/ |
ceil.3 | 32 .\" from: @(#)ceil.3 5.1 (Berkeley) 5/2/91 33 .\" $FreeBSD: src/lib/msun/man/ceil.3,v 1.15 2005/01/13 20:33:42 stefanf Exp $ 36 .Dt CEIL 3 39 .Nm ceil , 48 .Fn ceil "double x" 55 .Fn ceil , 74 .Fn 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" 168 } else if (strcmp(*argv, "ceil") == 0) { 170 if (opt.ceil.rate) { 171 fprintf(stderr, "Double \"ceil\" spec\n"); 174 if (get_rate(&opt.ceil.rate, *argv)) { 175 explain1("ceil"); 208 /* if ceil params are missing, use the same as rate */ 209 if (!opt.ceil.rate) opt.ceil = opt.rate [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
AndroidLineMetrics.java | 61 lAscent = (int)Math.ceil(fnt.ascent);// // Ascent of the font 62 lDescent = -(int)Math.ceil(fnt.descent);// Descent of the font 63 lLeading = (int)Math.ceil(leading); // External leading 70 lUnderlineOffset = (int)Math.ceil(underlineOffset); 78 lStrikethroughOffset = (int)Math.ceil(strikethroughOffset); 83 lMaxCharWidth = (int)Math.ceil(maxCharWidth); //(int)metrics[15];
|
/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));
|
/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/src/ |
s_ceil.c | 18 * ceil(x) 23 * Inexact flag raised if x not equal to ceil(x). 32 ceil(double x) function
|
/frameworks/base/core/jni/ |
android_util_FloatMath.cpp | 32 {"ceil", "(F)F", (void*) MathUtilsGlue::CeilF},
|
/external/skia/src/core/ |
SkFloatBits.cpp | 5 SkFloatBits_toInt[Floor, Round, Ceil] are identical except for what they 9 Ceil - adds (1 << exp) - 1 13 as that value (0x80000000) "does the right thing" for Ceil. Note that it 14 doesn't for Floor/Round/Ceil, hence the explicit check. 118 // same as (int)ceil(float)
|
/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);
|
sys_dosa.s | 90 orb $0x08,%ah // ceil mode, single precision
|
/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);
|
sys_dosa.s | 90 orb $0x08,%ah // ceil mode, single precision
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
FloatMath.java | 52 public static float ceil(float value) { method in class:FloatMath 53 return (float)Math.ceil(value);
|
/external/iproute2/man/man8/ |
tc-htb.8 | 23 .B [ ceil 119 ceil rate 126 .B ceil 138 Due to Unix timing constraints, the maximum ceil rate is not infinite and may in fact be quite low. On Intel,
|
/external/skia/src/animator/ |
SkDisplayMath.cpp | 59 SK_FUNCTION(ceil), 86 (SkFunctionParamType) SkType_Float, // ceil 131 SK_MEMBER_FUNCTION(ceil, Float), 176 case SK_FUNCTION(ceil):
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
GradientShader.java | 130 // careful: this is a negative value, so use ceil instead of floor 131 pos = pos - (float)Math.ceil(pos); 135 // careful: this is a negative value, so use ceil instead of floor 136 int intPart = (int)Math.ceil(pos);
|
/frameworks/base/tests/CoreTests/android/core/ |
MathPerformanceTest.java | 204 result = Math.ceil(sDouble1); 205 result = Math.ceil(sDouble1); 206 result = Math.ceil(sDouble1); 207 result = Math.ceil(sDouble1); 208 result = Math.ceil(sDouble1); 209 result = Math.ceil(sDouble1); 210 result = Math.ceil(sDouble1); 211 result = Math.ceil(sDouble1); 212 result = Math.ceil(sDouble1); 213 result = Math.ceil(sDouble1) [all...] |
/external/webkit/JavaScriptCore/wtf/ |
MathExtras.h | 67 // Work around a bug in the Mac OS X libc where ceil(-0.1) return +0. 68 inline double wtf_ceil(double x) { return copysign(ceil(x), x); } 70 #define ceil(x) wtf_ceil(x) macro 104 double integer = ceil(num); 120 inline double trunc(double num) { return num > 0 ? floor(num) : ceil(num); }
|
/frameworks/base/libs/rs/scriptc/ |
rs_math.rsh | 38 extern float __attribute__((overloadable)) ceil(float); 39 extern float2 __attribute__((overloadable)) ceil(float2); 40 extern float3 __attribute__((overloadable)) ceil(float3); 41 extern float4 __attribute__((overloadable)) ceil(float4); 42 extern float8 __attribute__((overloadable)) ceil(float8); 43 extern float16 __attribute__((overloadable)) ceil(float16);
|
/external/bluetooth/glib/glib/gnulib/ |
vasnprintf.c | 448 + 1 /* turn floor into ceil */ 458 + 1 /* turn floor into ceil */ 466 + 1 /* turn floor into ceil */ 477 + 1 /* turn floor into ceil */ 486 + 1 /* turn floor into ceil */ 493 + 1 /* turn floor into ceil */ 504 + 1 /* turn floor into ceil */ 514 + 1 /* turn floor into ceil */ 523 + 1 /* turn floor into ceil */ 530 + 1 /* turn floor into ceil */ [all...] |
/external/qemu/android/skin/ |
scaler.c | 111 op.rd.w = (int)(ceil((sx + sw) * scaler->scale + scaler->xdisp)) - op.rd.x; 112 op.rd.h = (int)(ceil((sy + sh) * scaler->scale + scaler->ydisp)) - op.rd.y;
|
/external/v8/src/ |
conversions-inl.h | 65 return (x >= 0) ? floor(x) : ceil(x); 88 x = (x >= 0) ? floor(x) : ceil(x) + two32;
|
/external/v8/test/mjsunit/ |
parse-int-float.js | 65 assertEquals(Math.ceil(x), parseInt(x)); 67 assertEquals(Math.ceil(x), parseInt(x));
|