HomeSort by: relevance | last modified time | path
    Searched defs:denom (Results 1 - 21 of 21) sorted by relevancy

  /src/games/random/
random.c 65 double denom; local
69 denom = 0;
90 denom = 2;
94 denom = strtod(*argv, &ep);
97 if (denom == 0 || *ep != '\0')
105 /* Compute a random exit status between 0 and denom - 1. */
107 return arc4random_uniform(denom);
118 * We find a random number between 0 and denom - 1 and, if it's
119 * 0 (which has a 1 / denom chance of being true), we select the
122 selected = (arc4random_uniform(denom) == 0)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/ppc/
divtc3.c 36 const long double denom = __gcc_qadd(__gcc_qmul(cDD.ld, cDD.ld), __gcc_qmul(dDD.ld, dDD.ld)); local
40 DD real = { .ld = __gcc_qdiv(realNumerator, denom) };
41 DD imag = { .ld = __gcc_qdiv(imagNumerator, denom) };
52 DD rDD = { .ld = denom };
  /src/external/gpl3/gcc/dist/libgcc/config/rs6000/
_divkc3.c 67 TFtype denom, ratio, x, y; local
108 denom = (c * ratio) + d;
112 x = ((a * ratio) + b) / denom;
113 y = ((b * ratio) - a) / denom;
117 x = ((c * (a / d)) + b) / denom;
118 y = ((c * (b / d)) - a) / denom;
154 denom = (d * ratio) + c;
158 x = ((b * ratio) + a) / denom;
159 y = (b - (a * ratio)) / denom;
163 x = (a + (d * (b / c))) / denom;
    [all...]
  /src/external/gpl3/gcc.old/dist/libgcc/config/rs6000/
_divkc3.c 57 TFtype denom, ratio, x, y; local
98 denom = (c * ratio) + d;
102 x = ((a * ratio) + b) / denom;
103 y = ((b * ratio) - a) / denom;
107 x = ((c * (a / d)) + b) / denom;
108 y = ((c * (b / d)) - a) / denom;
144 denom = (d * ratio) + c;
148 x = ((b * ratio) + a) / denom;
149 y = (b - (a * ratio)) / denom;
153 x = (a + (d * (b / c))) / denom;
    [all...]
  /src/external/lgpl3/mpc/dist/src/
balls.c 242 mpcr_t r, s, denom; local
260 mpcr_c_abs_rnd (denom, zc, MPFR_RNDD);
266 mpcr_div (r, r, denom);
  /src/sys/arch/arm/nxp/
imx6_ccm.c 204 uint32_t denom = bus_space_read_4(sc->sc_iot, sc->sc_ioh_analog, local
207 uint64_t tmp = freq * num / denom;
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
MallocOverflowSecurityChecker.cpp 192 const Expr *denom = BOp->getRHS()->IgnoreParenImpCasts(); local
194 if (denom->EvaluateAsInt(Result, Context)) {
  /src/external/mit/isl/dist/
isl_bernstein.c 68 isl_int denom; local
71 isl_int_init(denom);
80 isl_int_set(denom, vertex->eq[r][1 + nparam + i]);
81 isl_assert(vertex->ctx, !isl_int_is_zero(denom), goto error);
83 if (isl_int_is_pos(denom))
86 isl_int_neg(denom, denom);
88 v = isl_qpolynomial_from_affine(space, vertex->eq[r], denom);
89 isl_int_clear(denom);
94 isl_int_clear(denom);
    [all...]
isl_polynomial.c 2483 isl_int denom, unsigned len)
2490 poly = isl_poly_rat_cst(ctx, f[0], denom);
2498 c = isl_poly_rat_cst(ctx, f[1 + i], denom);
3128 isl_int denom; local
3149 isl_int_init(denom);
3165 isl_int_abs(denom, eq->eq[i][j]);
3169 eq->eq[i], denom, total);
3173 isl_int_clear(denom);
3691 __isl_take isl_space *space, isl_int *f, isl_int denom)
3701 poly = d < 0 ? NULL : isl_poly_from_affine(space->ctx, f, denom, 1 + d)
    [all...]
  /src/sys/netinet/
dccp_tfrc.h 67 long long denom; member in struct:fixpoint
dccp_tfrc.c 148 x1.denom = 1; \
151 y1.denom = 1; \
154 y1.denom = 1; \
175 #define PRINTFLOAT(x) TFRC_DEBUG((LOG_INFO, "%lld/%lld", (x)->num, (x)->denom));
221 x.denom = 1 * r;
323 temp2.denom = TFRC_MAX_BACK_OFF_TIME;
326 normalize(&cb->x.num, &cb->x.denom);
343 cb->x.denom = 1;
345 cb->x.denom *= cb->rtt;
348 normalize(&cb->x.num, &cb->x.denom);
1832 long long num, denom; local
1847 long long num, denom; local
1886 long long num, denom; local
1901 long long num, denom; local
    [all...]
  /src/sys/arch/arm/altera/
cycv_clkmgr.c 372 uint32_t denom; local
386 denom = __SHIFTOUT(tmp, CYCV_CLKMGR_PLL_VCO_DENOM) + 1;
387 aprint_debug(" PLL num = %u, den = %u\n", numer, denom);
  /src/sys/arch/evbarm/dev/
plcom.c 367 int denom = 16 * speed; local
368 int div = frequency / denom;
369 int rem = frequency % denom;
  /src/sys/arch/hppa/hppa/
machdep.c 947 u_int num, denom, delta, mdelta; local
950 for (denom = 1; denom < 1000; denom++) {
951 num = (PAGE0->mem_10msec * denom) / 10000;
952 delta = num * 10000 / denom - PAGE0->mem_10msec;
954 cpu_ticksdenom = denom;
958 cpu_ticksdenom = denom;
  /src/external/bsd/top/dist/machine/
m_svr5.c 1215 dl_t *fm_p, fm, fmc, denom; local
1230 denom.dl_hop = 0;
1231 denom.dl_lop = (long) (td1 - td0);
1241 fmc = ldivide(fmc, denom);
  /src/sbin/fdisk/
fdisk.c 1631 uint64_t num, denom; local
1672 denom = (uint64_t)c2 * a1 - (uint64_t)c1 * a2;
1673 if (denom != 0 && num != 0 && num % denom == 0) {
1674 xheads = num / denom;
  /src/usr.sbin/sysinst/
mbr.c 2480 uint64_t num, denom; local
2494 denom = (uint64_t)c2 * a1 - (quad_t)c1 * a2;
2495 if (num != 0 && denom != 0 && num % denom == 0) {
2496 xheads = (int)(num / denom);
  /src/external/gpl3/gcc/dist/libgcc/
libgcc2.c 2813 AMTYPE denom;
2821 denom = (cc * cc) + (dd * dd);
2822 x = ((aa * cc) + (bb * dd)) / denom;
2823 y = ((bb * cc) - (aa * dd)) / denom;
2826 MTYPE denom, ratio, x, y;
2869 denom = (c * ratio) + d;
2873 x = ((a * ratio) + b) / denom;
2874 y = ((b * ratio) - a) / denom;
2878 x = ((c * (a / d)) + b) / denom;
2879 y = ((c * (b / d)) - a) / denom;
2780 AMTYPE denom; variable
    [all...]
  /src/external/gpl3/gcc.old/dist/libgcc/
libgcc2.c 2069 AMTYPE denom;
2077 denom = (cc * cc) + (dd * dd);
2078 x = ((aa * cc) + (bb * dd)) / denom;
2079 y = ((bb * cc) - (aa * dd)) / denom;
2082 MTYPE denom, ratio, x, y;
2125 denom = (c * ratio) + d;
2129 x = ((a * ratio) + b) / denom;
2130 y = ((b * ratio) - a) / denom;
2134 x = ((c * (a / d)) + b) / denom;
2135 y = ((c * (b / d)) - a) / denom;
2037 AMTYPE denom; variable
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/cp/
constexpr.cc 9400 tree denom = TREE_OPERAND (t, 1); local
9401 if (!RECUR (denom, rval))
9406 denom = cxx_eval_outermost_constant_expr (denom, true);
9407 if (integer_zerop (denom))
  /src/external/mit/xorg/lib/libxcb/files/
xinput.h 1150 int16_t denom; member in struct:xcb_input_ptr_feedback_ctl_t
1261 int16_t denom; member in struct:xcb_input_feedback_ctl_data_t::__anon23897

Completed in 70 milliseconds