Lines Matching refs:DIVIDE
161 /* a divide (unless a floating-point or 64-bit multiply is */
194 #define DIVIDE 0x80 /* Divide operators */
233 /* Constant multipliers for divide-by-power-of five using reciprocal */
1001 /* decNumberDivide -- divide one number by another */
1015 decDivideOp(res, lhs, rhs, set, DIVIDE, &status);
1024 /* decNumberDivideInteger -- divide and return integer quotient */
1026 /* This computes C = A # B, where # is the integer divide operator */
1533 aset.digits=set->digits; /* for final divide */
1534 decDivideOp(res, a, b, &aset, DIVIDE, &status); /* into result */
2207 /* divide lhs into 1, putting result in dac [dac=1/dac] */
2208 decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status);
2270 /* so divide result into 1 [dac=1/dac] */
2271 decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status);
2413 /* decNumberRemainder -- divide and return remainder */
2436 /* decNumberRemainderNear -- divide and return remainder from nearest */
3008 decDivideOp(b, f, a, &workset, DIVIDE, &ignore); /* b=f/a */
4182 /* operators (divide, divideInteger, remainder, remainderNear). */
4190 /* op is DIVIDE, DIVIDEINT, REMAINDER, or REMNEAR respectively. */
4213 /* if exp<0 then if integer divide/residue then leave */
4282 Int maxexponent=0; /* DIVIDE maximum exponent if unrounded */
4343 /* for DIVIDEINT the exponent is always 0. For DIVIDE, result */
4345 if (op&DIVIDE) {
4377 if (op&DIVIDE) {
4408 if (exponent<0 && !(op==DIVIDE)) {
4460 if (!(op&DIVIDE)) var1units++;
4506 /* Now, if doing an integer divide or remainder, ensure that */
4511 if (!(op&DIVIDE)) {
4524 else { /* is DIVIDE */
4527 /* preadjust to skip it [valid for DIVIDE only] */
4616 /* if the residue is zero, the operation is done (unless divide */
4620 if ((op&DIVIDE) && (exponent<=maxexponent)) break;
4624 /* divide and just did the last ('units') unit */
4625 if (exponent==0 && !(op&DIVIDE)) break;
4627 /* to get here, var1 is less than var2, so divide var2 by the per- */
4647 if (op&DIVIDE) {
4678 } /* exact divide */
4679 } /* divide */
4680 else /* op!=DIVIDE */ {
4720 /* [the 'exponent' term accounts for the shifts during divide] */
4805 } /* not DIVIDE */
4817 /* If a divide then strip trailing zeros if subset [after round] */
4818 if (!set->extended && (op==DIVIDE)) decTrim(res, set, 0, 1, &dropped);
5070 lcarry=*lp/FASTBASE; /* top part [slow divide] */
5072 /* and occasional extra divide (slow) is well worth it, as */
5473 decDivideOp(t, t, d, &tset, DIVIDE, &ignore); /* t=t/d */
6432 #if DECDPUN==4 /* use divide-by-multiply */
6519 #if DECDPUN==4 /* use divide-by-multiply */
7777 /* unless the error was an overflow, divide-by-zero, or underflow, */