Home
last modified time | relevance | path

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

12345678

/external/webkit/Source/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.c168 if (opt.ceil.rate) { in htb_parse_class_opt()
172 if (get_rate(&opt.ceil.rate, *argv)) { in htb_parse_class_opt()
207 if (!opt.ceil.rate) opt.ceil = opt.rate; in htb_parse_class_opt()
212 if (!cbuffer) cbuffer = opt.ceil.rate / get_hz() + mtu; in htb_parse_class_opt()
214 opt.ceil.overhead = overhead; in htb_parse_class_opt()
217 opt.ceil.mpu = mpu; in htb_parse_class_opt()
226 if (tc_calc_rtable(&opt.ceil, ctab, ccell_log, mtu, linklayer) < 0) { in htb_parse_class_opt()
230 opt.cbuffer = tc_calc_xmittime(opt.ceil.rate, cbuffer); in htb_parse_class_opt()
268 fprintf(f, "ceil %s ", sprint_rate(hopt->ceil.rate, b1)); in htb_print_opt()
269 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/mesa3d/src/glsl/builtins/ir/
Dceil1 ((function ceil
5 ((return (expression float ceil (var_ref arg0)))))
10 ((return (expression vec2 ceil (var_ref arg0)))))
15 ((return (expression vec3 ceil (var_ref arg0)))))
20 ((return (expression vec4 ceil (var_ref arg0)))))
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixExponential.h293 using std::ceil; in computeUV()
300 m_squarings = (max)(0, (int)ceil(log2(m_l1norm / maxnorm))); in computeUV()
311 using std::ceil; in computeUV()
322 m_squarings = (max)(0, (int)ceil(log2(m_l1norm / maxnorm))); in computeUV()
333 using std::ceil; in computeUV()
347 m_squarings = (max)(0, (int)ceil(log2(m_l1norm / maxnorm))); in computeUV()
364 m_squarings = (max)(0, (int)ceil(log2(m_l1norm / maxnorm))); in computeUV()
381 m_squarings = (max)(0, (int)ceil(log2(m_l1norm / maxnorm))); in computeUV()
/external/llvm/utils/lit/lit/
DUtil.py102 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/clang/test/CodeGen/
Dlibcalls-fno-builtin.c4 double ceil(double x);
10 double t1(double x) { return ceil(x); } in t1()
Dlibcall-declarations.c17 double ceil(double);
81 atan2f, ceil, ceill, ceilf, copysign, copysignl, copysignf, cos, cosl, cosf,
/external/openfst/src/include/fst/extensions/far/
Dinfo.h106 if (ceil(log10(info.nstate)) + 2 > wnstate) in FarInfo()
107 wnstate = ceil(log10(info.nstate)) + 2; in FarInfo()
108 if (ceil(log10(info.narc)) + 2 > wnarc) in FarInfo()
109 wnarc = ceil(log10(info.narc)) + 2; in FarInfo()
/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()
/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()
/external/qemu/android/skin/
Dscaler.c101 drect->size.w = (int)(ceil((sx + sw) * scale + scaler->xdisp)) - drect->pos.x; in skin_scaler_get_scaled_rect()
102 drect->size.h = (int)(ceil((sy + sh) * scale + scaler->ydisp)) - drect->pos.y; in skin_scaler_get_scaled_rect()
133 op.rd.w = (int)(ceil((sx + sw) * scaler->scale + scaler->xdisp)) - op.rd.x; in skin_scaler_scale()
134 op.rd.h = (int)(ceil((sy + sh) * scaler->scale + scaler->ydisp)) - op.rd.y; in skin_scaler_scale()
/external/webkit/Source/JavaScriptCore/wtf/
DMathExtras.h78 inline double wtf_ceil(double x) { return copysign(ceil(x), x); } in wtf_ceil()
80 #define ceil(x) wtf_ceil(x) macro
114 double integer = ceil(num); in round()
130 inline double trunc(double num) { return num > 0 ? floor(num) : ceil(num); } in trunc()
/external/v8/test/mjsunit/
Dparse-int-float.js83 assertEquals(Math.ceil(x), parseInt(x));
85 assertEquals(Math.ceil(x), parseInt(x));
/external/llvm/test/Transforms/SimplifyLibCalls/
Dwin-math.ll55 declare double @ceil(double %x)
59 ; WIN32: double @ceil
62 ; WIN64-NOT: double @ceil
65 ; MINGW32-NOT: double @ceil
68 ; MINGW64-NOT: double @ceil
70 %2 = call double @ceil(double %1)
Dfloor.ll21 ; DONT-SIMPLIFY: call double @ceil(
29 declare double @ceil(double)
50 %E = call double @ceil( double %D ) ; <double> [#uses=1]
/external/skia/src/animator/
DSkDisplayMath.cpp51 SK_FUNCTION(ceil),
123 SK_MEMBER_FUNCTION(ceil, Float),
168 case SK_FUNCTION(ceil): in executeFunction()
/external/chromium/chrome/common/extensions/docs/examples/extensions/calendar/javascript/
Dbackground.js160 this.canvasContext_.translate(Math.ceil(this.w / 2), Math.ceil(this.h / 2));
162 this.canvasContext_.drawImage(this.loggedInImage_, -Math.ceil(this.w / 2),
163 -Math.ceil(this.h / 2));
252 var nextEventMin = Math.ceil(ms / (1000 * 60));
/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/chromium/chrome/browser/resources/shared/js/cr/ui/
Dgrid.js165 columns * (Math.ceil(clientHeight / itemHeight) + 1),
167 count = columns * Math.ceil(count / columns);
/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/openfst/src/extensions/far/
Dcompile-strings.cc33 return nline ? ceil(log10(nline + 1)) : 1; in KeySize()
/external/webkit/Source/WebCore/platform/graphics/openvg/
DTiledImageOpenVG.cpp102 int rightIndex = (static_cast<int>(ceil(rect.right())) - 1) / m_maxTileSize.width(); in tilesInRect()
103 int bottomIndex = (static_cast<int>(ceil(rect.bottom())) - 1) / m_maxTileSize.height(); in tilesInRect()
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncCeiling.java45 return new XNumber(Math.ceil(m_arg0.execute(xctxt).num())); in execute()

12345678