Home | History | Annotate | Download | only in i18n

Lines Matching refs:dac

2000   decNumber *dac=dacbuff;          /* -> result accumulator  */
2038 uprv_decNumberCompare(dac, lhs, &dnOne, set); /* lhs ? 1 */
2040 if (decNumberIsNegative(dac)) { /* lhs<1 */
2043 else if (dac->lsu[0]==0) { /* lhs=1 */
2131 /* all be done into the accumulator, dac. The precision needed */
2172 dac=allocdac; /* use the allocated space */
2180 decLnOp(dac, lhs, &aset, &status); /* dac=ln(lhs) */
2182 if (ISZERO(dac)) { /* x==1, 1.0, etc. */
2184 *dac->lsu=1; /* was 0, make int 1 */
2187 dac->digits=decShiftToMost(dac->lsu, 1, shift);
2188 dac->exponent=-shift; /* make 1.0000... */
2193 decMultiplyOp(dac, dac, rhs, &aset, &status); /* dac=dac*rhs */
2194 decExpOp(dac, dac, &aset, &status); /* dac=exp(dac) */
2200 uprv_decNumberZero(dac); /* acc=1 */
2201 *dac->lsu=1; /* .. */
2207 uprv_decNumberCopy(&dnOne, dac); /* dnOne=1; [needed now or later] */
2211 /* divide lhs into 1, putting result in dac [dac=1/dac] */
2212 decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status);
2222 uprv_decNumberCopy(inv, dac); /* copy the 1/lhs */
2223 uprv_decNumberCopy(dac, &dnOne); /* restore acc=1 */
2235 if (status&DEC_Overflow || ISZERO(dac)) break;
2242 decMultiplyOp(dac, dac, lhs, &aset, &status); /* dac=dac*x */
2246 decMultiplyOp(dac, dac, dac, &aset, &status); /* dac=dac*dac [square] */
2263 dac->bits=(dac->bits & ~DECNEG) | bits; /* force correct sign */
2266 decFinalize(dac, set, &residue, &status);
2267 uprv_decNumberCopy(res, dac); /* copy to result (is now OK length) */
2274 /* so divide result into 1 [dac=1/dac] */
2275 decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status);
2281 decCopyFit(res, dac, set, &residue, &status);