HomeSort by: relevance | last modified time | path
    Searched refs:quotient (Results 1 - 8 of 8) sorted by relevancy

  /xsrc/external/mit/MesaLib/dist/src/util/
fast_idiv_by_const.c 86 /* The remainder and quotient of our power of 2 divided by d */
87 uint64_t quotient = initial_power_of_2 / D; local
110 /* Quotient and remainder is from previous exponent; compute it for this
115 quotient = quotient * 2 + 1;
119 quotient = quotient * 2;
137 down_multiplier = quotient;
144 result.multiplier = quotient + 1;
  /xsrc/external/mit/MesaLib.old/dist/src/util/
fast_idiv_by_const.c 86 /* The remainder and quotient of our power of 2 divided by d */
87 uint64_t quotient = initial_power_of_2 / D; local
110 /* Quotient and remainder is from previous exponent; compute it for this
115 quotient = quotient * 2 + 1;
119 quotient = quotient * 2;
137 down_multiplier = quotient;
144 result.multiplier = quotient + 1;
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_lower_idiv.c 133 /* Get initial estimate for quotient/remainder, then refine the estimate
135 nir_ssa_def *quotient = nir_umul_high(bld, numer, rcp); local
136 nir_ssa_def *num_s_remainder = nir_imul(bld, quotient, denom);
142 quotient = nir_bcsel(bld, remainder_ge_den,
143 nir_iadd_imm(bld, quotient, 1), quotient);
154 return nir_bcsel(bld, remainder_ge_den, nir_iadd_imm(bld, quotient, 1),
155 quotient);
224 /* Get remainder given the quotient */
  /xsrc/external/mit/libXTrap/dist/src/
XEWrappers.c 281 long quotient, remainder = 0;
312 lib$ediv (&(10000), &result_time, &quotient, &remainder);
313 quotient *= -1; /* flip the sign bit */
316 app->Input_EF_Mask, quotient, 0L, &retval));
  /xsrc/external/mit/xedit/dist/lisp/mp/
mpi.c 528 int qsign; /* sign of quotient */
530 BNI qsize; /* size of quotient */
532 BNS qest; /* estimative of quotient value */
546 /* quotient is zero and remainder is numerator */
570 /* allocate space for quotient and remainder */
641 /* estimate quotient */
669 /* quotient too big */
717 /* normalize quotient */
1613 BNS quotient, remainder = 0; local
1618 quotient = remainder
    [all...]
  /xsrc/external/mit/freetype/dist/src/smooth/
ftgrays.c 350 /* Compute `dividend / divisor' and return both its quotient and */
354 #define FT_DIV_MOD( type, dividend, divisor, quotient, remainder ) \
356 (quotient) = (type)( (dividend) / (divisor) ); \
360 (quotient)--; \
372 #define FT_DIV_MOD( type, dividend, divisor, quotient, remainder ) \
374 (quotient) = (type)( (dividend) / (divisor) ); \
375 (remainder) = (type)( (dividend) - (quotient) * (divisor) ); \
378 (quotient)--; \
  /xsrc/external/mit/xedit/dist/lisp/test/
math.lsp 71 (defun div-test (quotient remainder function &rest arguments
79 (or (and (eql quotient quo) (eql remainder rem))
83 (eql quotient quo)
85 (floatp quotient)
87 (< (abs (- (abs quotient) (abs quo)))
101 function arguments quotient remainder quo rem
105 function arguments quotient remainder quo rem
list.lsp 1058 (eql-eval 1 '(multiple-value-setq (quotient remainder) (truncate 3.5d0 2)))
1059 (eql-eval 1 quotient)

Completed in 22 milliseconds