Home
last modified time | relevance | path

Searched refs:ceil (Results 1 – 25 of 80) sorted by relevance

1234

/external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/
D15.8.2.6.js54 …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.…
57 …array[item++] = new TestCase( SECTION, "Math.ceil(null)", 0, Math.ceil(null) );
58 array[item++] = new TestCase( SECTION, "Math.ceil()", Number.NaN, Math.ceil() );
59 …array[item++] = new TestCase( SECTION, "Math.ceil(void 0)", Number.NaN, Math.ceil(void 0)…
61 …array[item++] = new TestCase( SECTION, "Math.ceil('0')", 0, Math.ceil('0') …
62 …array[item++] = new TestCase( SECTION, "Math.ceil('-0')", -0, Math.ceil('-0') …
63 …item++] = new TestCase( SECTION, "Infinity/Math.ceil('0')", Infinity, Infinity/Math.ceil('0'));
64 …tem++] = new TestCase( SECTION, "Infinity/Math.ceil('-0')", -Infinity, Infinity/Math.ceil('-0'));
66 …array[item++] = new TestCase( SECTION, "Math.ceil(0)", 0, Math.ceil(0) …
[all …]
D15.8.2.9.js69 …or(NaN)==-Math.ceil(-NaN)", false, Math.floor(Number.NaN) == -Math.ceil(-Number.NaN) );
72 …ECTION, "Math.floor(0)==-Math.ceil(-0)", true, Math.floor(0) == -Math.ceil(-0) );
76 …SECTION, "Math.floor(-0)==-Math.ceil(0)", true, Math.floor(-0)== -Math.ceil(0) );
79 ….ceil(-Infinity)", true, Math.floor(Number.POSITIVE_INFINITY) == -Math.ceil(Number.NEGATIVE_INF…
82 …h.ceil(Infinity)", true, Math.floor(Number.NEGATIVE_INFINITY) == -Math.ceil(Number.POSITIVE_INF…
85 ….floor(0.0000001)==-Math.ceil(0.0000001)", true, Math.floor(0.0000001)==-Math.ceil(-0.0000001) );
88 ….floor(0.0000001)==-Math.ceil(0.0000001)", true, Math.floor(-0.0000001)==-Math.ceil(0.0000001) );
/external/iproute2/tc/
Dq_htb.c170 if (opt.ceil.rate) { in htb_parse_class_opt()
174 if (get_rate(&opt.ceil.rate, *argv)) { in htb_parse_class_opt()
209 if (!opt.ceil.rate) opt.ceil = opt.rate; in htb_parse_class_opt()
214 if (!cbuffer) cbuffer = opt.ceil.rate / get_hz() + mtu; in htb_parse_class_opt()
216 opt.ceil.overhead = overhead; in htb_parse_class_opt()
219 opt.ceil.mpu = mpu; in htb_parse_class_opt()
228 if (tc_calc_rtable(&opt.ceil, ctab, ccell_log, mtu, linklayer) < 0) { in htb_parse_class_opt()
232 opt.cbuffer = tc_calc_xmittime(opt.ceil.rate, cbuffer); in htb_parse_class_opt()
270 fprintf(f, "ceil %s ", sprint_rate(hopt->ceil.rate, b1)); in htb_print_opt()
271 cbuffer = tc_calc_xmitsize(hopt->ceil.rate, hopt->cbuffer); in htb_print_opt()
[all …]
Dq_hfsc.c370 if (dmax != 0 && ceil(1.0 * umax * TIME_UNITS_PER_SEC / dmax) > rate) { in hfsc_get_sc2()
375 sc->m1 = ceil(1.0 * umax * TIME_UNITS_PER_SEC / dmax); /* in bps */ in hfsc_get_sc2()
384 sc->d = tc_core_time2ktime(ceil(dmax - umax * TIME_UNITS_PER_SEC / rate)); in hfsc_get_sc2()
/external/quake/quake/src/QW/client/
Dd_sprite.c216 vtop = ceil (r_spritedesc.pverts[i].v); in D_SpriteScanLeftEdge()
223 vbottom = ceil (pnext->v); in D_SpriteScanLeftEdge()
278 vtop = ceil (vvert); in D_SpriteScanRightEdge()
291 vbottom = ceil (vnext); in D_SpriteScanRightEdge()
421 ymin = ceil (ymin); in D_DrawSprite()
422 ymax = ceil (ymax); in D_DrawSprite()
Dr_draw.c126 ceilv0 = (int) ceil(v0); in R_EmitEdge()
166 r_ceilv1 = (int) ceil(r_v1); in R_EmitEdge()
/external/quake/quake/src/WinQuake/
Dd_sprite.cpp216 vtop = ceil (r_spritedesc.pverts[i].v); in D_SpriteScanLeftEdge()
223 vbottom = ceil (pnext->v); in D_SpriteScanLeftEdge()
278 vtop = ceil (vvert); in D_SpriteScanRightEdge()
291 vbottom = ceil (vnext); in D_SpriteScanRightEdge()
421 ymin = ceil (ymin); in D_DrawSprite()
422 ymax = ceil (ymax); in D_DrawSprite()
Dr_draw.cpp126 ceilv0 = (int) ceil(v0); in R_EmitEdge()
166 r_ceilv1 = (int) ceil(r_v1); in R_EmitEdge()
/external/webkit/JavaScriptCore/wtf/
DMathExtras.h68 inline double wtf_ceil(double x) { return copysign(ceil(x), x); } in wtf_ceil()
70 #define ceil(x) wtf_ceil(x) macro
104 double integer = ceil(num); in round()
120 inline double trunc(double num) { return num > 0 ? floor(num) : ceil(num); } in trunc()
/external/v8/src/
Dconversions-inl.h65 return (x >= 0) ? floor(x) : ceil(x); in DoubleToInteger()
88 x = (x >= 0) ? floor(x) : ceil(x) + two32; in DoubleToInt32()
/external/v8/test/mjsunit/
Dparse-int-float.js65 assertEquals(Math.ceil(x), parseInt(x));
67 assertEquals(Math.ceil(x), parseInt(x));
/external/skia/src/animator/
DSkDisplayMath.cpp59 SK_FUNCTION(ceil),
131 SK_MEMBER_FUNCTION(ceil, Float),
176 case SK_FUNCTION(ceil): in executeFunction()
/external/stlport/stlport/stl/
D_cmath.h347 # pragma function (ceil, floor)
365 _STLP_DMATH_INLINE(ceil) in _STLP_DMATH_INLINE()
436 _STLP_DEF_MATH_INLINE(ceil, ceil)
517 # pragma intrinsic (ceil, floor)
558 using ::ceil;
/external/stlport/test/unit/
Dcmath_test.cpp78 CPPUNIT_CHECK( are_equals(std::ceil(1.5), 2.0) ); in import_checks()
112 CPPUNIT_CHECK( are_equals(std::ceil(1.5f), 2.0f) ); in import_checks()
138 CPPUNIT_CHECK( are_equals(std::ceil(1.5l), 2.0l) ); in import_checks()
/external/qemu/android/skin/
Dscaler.c111 op.rd.w = (int)(ceil((sx + sw) * scaler->scale + scaler->xdisp)) - op.rd.x; in skin_scaler_scale()
112 op.rd.h = (int)(ceil((sy + sh) * scaler->scale + scaler->ydisp)) - op.rd.y; in skin_scaler_scale()
/external/chromium/base/
Dwaitable_event_win.cc62 double timeout = ceil(max_time.InMillisecondsF()); in TimedWait()
Dmessage_pump_glib.cc32 ceil((from - base::Time::Now()).InMillisecondsF())); in GetTimeIntervalMilliseconds()
/external/webkit/JavaScriptCore/runtime/
DMathObject.cpp142 return jsNumber(exec, ceil(args.at(0).toNumber(exec))); in mathProtoFuncCeil()
221 double integer = ceil(arg); in mathProtoFuncRound()
/external/skia/include/core/
DSkSize.h92 SkISize ceil() const { in ceil() function
DSkFloatingPoint.h53 #define sk_float_ceil(x) (float)::ceil(x)
/external/quake/quake/src/QW/progs/
Dcombat.qc134 save = ceil(targ.armortype*damage);
143 take = ceil(damage-save);
/external/webkit/WebKitTools/Scripts/
Dparallelcl98 my $jobSize = POSIX::ceil($numSources / (2 * $numJobs));
/external/kernel-headers/original/linux/
Dpkt_sched.h273 struct tc_ratespec ceil; member
/external/iproute2/include/linux/
Dpkt_sched.h273 struct tc_ratespec ceil; member
/external/webkit/WebCore/inspector/front-end/
DTextViewer.js657 var totalDigits = Math.ceil(Math.log(this._textModel.linesCount + 1) / Math.log(10));
658 var digits = Math.ceil(Math.log(lineNumber + 2) / Math.log(10));

1234