Lines Matching defs:acc

981   decNumber *allocdac = NULL;	/* -> allocated acc buffer, iff used */
1108 decNumberZero (dac); /* acc=1 */
1157 decNumberCopy (dac, &dnOne); /* restore acc=1 */
2241 Unit *acc; /* accumulator for result */
2244 Unit *allocacc = NULL; /* -> allocated acc buffer, iff allocated */
2505 acc = res->lsu; /* assume build direct */
2515 acc = accbuff; /* assume use local buffer */
2524 acc = allocacc;
2539 res->digits = decUnitAddSub (lhs->lsu, D2U (lhs->digits), rhs->lsu, D2U (rhs->digits), rhsshift, acc, mult) * DECDPUN; /* [units -> digits] */
2546 decDumpAr ('+', acc, D2U (res->digits));
2553 if (acc != res->lsu)
2562 res->digits = decGetDigits (acc, D2U (res->digits));
2563 decSetCoeff (res, set, acc, res->digits, &residue, status);
2575 *(acc + D2U (res->digits)) = 0; /* ensure leading 0 is there */
2585 res->digits = decGetDigits (acc, D2U (res->digits));
2590 decSetCoeff (res, set, acc, res->digits, &residue, status);
2703 /* long subtractions. These are acc and var1 respectively. */
2714 Unit *acc = accbuff; /* -> accumulator array for result */
2717 Int acclength; /* length of acc needed [Units] */
2734 Int maxdigits; /* longest LHS or required acc length */
2939 acc = allocacc; /* use the allocated space */
3050 accnext = acc + acclength - 1; /* -> msu of acc [NB: allows digits+1] */
3130 /* We have the next unit; unless it's a leading zero, add to acc */
3171 /* here: acc has at least reqdigits+1 of good results (or fewer */
3174 /* accunits is the number of digits we collected in acc */
3176 { /* acc is 0 */
3261 wasodd = 1; /* acc is odd */
3265 /* treat the residue, in var1, as the value to return, via acc */
3436 Unit *acc = accbuff; /* -> accumulator array for exact result */
3520 acc = allocacc; /* use the allocated space */
3529 *acc = 0; /* .. (lsu=0) */
3541 decUnitAddSub (&acc[shift], accunits - shift, lhs->lsu,
3542 madlength, 0, &acc[shift], *mer) + shift;
3545 { /* extend acc with a 0; we'll use it shortly */
3547 *(acc + accunits) = 0;
3555 decDumpAr ('*', acc, accunits);
3558 /* acc now contains the exact result of the multiplication */
3561 res->digits = decGetDigits (acc, accunits); /* count digits exactly */
3574 decSetCoeff (res, set, acc, res->digits, &residue, status);
4030 Unit *acc; /* accumulator for result */
4032 Unit *allocacc = NULL; /* -> allocated acc buffer, iff allocated */
4033 Int accunits, need; /* units in use or needed for acc */
4070 acc = accbuff; /* assume use local buffer */
4076 acc = allocacc;
4082 accunits = decUnitAddSub (a, alength, b, blength, expunits, acc,
4090 for (u = acc; u < acc + accunits - 1 && *u == 0;)