Lines Matching refs:DIVIDE
159 /* a divide (unless a floating-point or 64-bit multiply is */
191 #define DIVIDE 0x80 /* Divide operators */
216 /* Constant multipliers for divide-by-power-of five using reciprocal */
980 /* decNumberDivide -- divide one number by another */
994 decDivideOp(res, lhs, rhs, set, DIVIDE, &status);
1003 /* decNumberDivideInteger -- divide and return integer quotient */
1005 /* This computes C = A # B, where # is the integer divide operator */
1508 aset.digits=set->digits; /* for final divide */
1509 decDivideOp(res, a, b, &aset, DIVIDE, &status); /* into result */
2179 /* divide lhs into 1, putting result in dac [dac=1/dac] */
2180 decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status);
2242 /* so divide result into 1 [dac=1/dac] */
2243 decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status);
2385 /* decNumberRemainder -- divide and return remainder */
2408 /* decNumberRemainderNear -- divide and return remainder from nearest */
2976 decDivideOp(b, f, a, &workset, DIVIDE, &ignore); /* b=f/a */
4145 /* operators (divide, divideInteger, remainder, remainderNear). */
4153 /* op is DIVIDE, DIVIDEINT, REMAINDER, or REMNEAR respectively. */
4176 /* if exp<0 then if integer divide/residue then leave */
4245 Int maxexponent=0; /* DIVIDE maximum exponent if unrounded */
4306 /* for DIVIDEINT the exponent is always 0. For DIVIDE, result */
4308 if (op&DIVIDE) {
4340 if (op&DIVIDE) {
4371 if (exponent<0 && !(op==DIVIDE)) {
4423 if (!(op&DIVIDE)) var1units++;
4469 /* Now, if doing an integer divide or remainder, ensure that */
4474 if (!(op&DIVIDE)) {
4487 else { /* is DIVIDE */
4490 /* preadjust to skip it [valid for DIVIDE only] */
4579 /* if the residue is zero, the operation is done (unless divide */
4583 if ((op&DIVIDE) && (exponent<=maxexponent)) break;
4587 /* divide and just did the last ('units') unit */
4588 if (exponent==0 && !(op&DIVIDE)) break;
4590 /* to get here, var1 is less than var2, so divide var2 by the per- */
4610 if (op&DIVIDE) {
4641 } /* exact divide */
4642 } /* divide */
4643 else /* op!=DIVIDE */ {
4683 /* [the 'exponent' term accounts for the shifts during divide] */
4768 } /* not DIVIDE */
4780 /* If a divide then strip trailing zeros if subset [after round] */
4781 if (!set->extended && (op==DIVIDE)) decTrim(res, set, 0, 1, &dropped);
5029 lcarry=*lp/FASTBASE; /* top part [slow divide] */
5031 /* and occasional extra divide (slow) is well worth it, as */
5432 decDivideOp(t, t, d, &tset, DIVIDE, &ignore); /* t=t/d */
6384 #if DECDPUN==4 /* use divide-by-multiply */
6471 #if DECDPUN==4 /* use divide-by-multiply */
7728 /* unless the error was an overflow, divide-by-zero, or underflow, */