Lines Matching refs:dac
1981 decNumber *dac=dacbuff; /* -> result accumulator */
2019 uprv_decNumberCompare(dac, lhs, &dnOne, set); /* lhs ? 1 */
2021 if (decNumberIsNegative(dac)) { /* lhs<1 */
2024 else if (dac->lsu[0]==0) { /* lhs=1 */
2112 /* all be done into the accumulator, dac. The precision needed */
2153 dac=allocdac; /* use the allocated space */
2161 decLnOp(dac, lhs, &aset, &status); /* dac=ln(lhs) */
2163 if (ISZERO(dac)) { /* x==1, 1.0, etc. */
2165 *dac->lsu=1; /* was 0, make int 1 */
2168 dac->digits=decShiftToMost(dac->lsu, 1, shift);
2169 dac->exponent=-shift; /* make 1.0000... */
2174 decMultiplyOp(dac, dac, rhs, &aset, &status); /* dac=dac*rhs */
2175 decExpOp(dac, dac, &aset, &status); /* dac=exp(dac) */
2181 uprv_decNumberZero(dac); /* acc=1 */
2182 *dac->lsu=1; /* .. */
2188 uprv_decNumberCopy(&dnOne, dac); /* dnOne=1; [needed now or later] */
2192 /* divide lhs into 1, putting result in dac [dac=1/dac] */
2193 decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status);
2203 uprv_decNumberCopy(inv, dac); /* copy the 1/lhs */
2204 uprv_decNumberCopy(dac, &dnOne); /* restore acc=1 */
2216 if (status&DEC_Overflow || ISZERO(dac)) break;
2223 decMultiplyOp(dac, dac, lhs, &aset, &status); /* dac=dac*x */
2227 dac, dac, dac, &aset, &status); /* dac=dac*dac [square] */
2244 dac->bits=(dac->bits & ~DECNEG) | bits; /* force correct sign */
2247 decFinalize(dac, set, &residue, &status);
2248 uprv_decNumberCopy(res, dac); /* copy to result (is now OK length) */
2255 /* so divide result into 1 [dac=1/dac] */
2256 decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status);
2262 decCopyFit(res, dac, set, &residue, &status);