dac 1812 src/decNumber/decNumber.c decNumber *dac=dacbuff; // -> result accumulator dac 1846 src/decNumber/decNumber.c decNumberCompare(dac, lhs, &dnOne, set); // lhs ? 1 dac 1848 src/decNumber/decNumber.c if (decNumberIsNegative(dac)) { // lhs<1 dac 1851 src/decNumber/decNumber.c else if (dac->lsu[0]==0) { // lhs=1 dac 1983 src/decNumber/decNumber.c dac=allocdac; // use the allocated space dac 1991 src/decNumber/decNumber.c decLnOp(dac, lhs, &aset, &status); // dac=ln(lhs) dac 1993 src/decNumber/decNumber.c if (ISZERO(dac)) { // x==1, 1.0, etc. dac 1995 src/decNumber/decNumber.c *dac->lsu=1; // was 0, make int 1 dac 1998 src/decNumber/decNumber.c dac->digits=decShiftToMost(dac->lsu, 1, shift); dac 1999 src/decNumber/decNumber.c dac->exponent=-shift; // make 1.0000... dac 2004 src/decNumber/decNumber.c decMultiplyOp(dac, dac, rhs, &aset, &status); // dac=dac*rhs dac 2005 src/decNumber/decNumber.c decExpOp(dac, dac, &aset, &status); // dac=exp(dac) dac 2011 src/decNumber/decNumber.c decNumberZero(dac); // acc=1 dac 2012 src/decNumber/decNumber.c *dac->lsu=1; // .. dac 2018 src/decNumber/decNumber.c decNumberCopy(&dnOne, dac); // dnOne=1; [needed now or later] dac 2023 src/decNumber/decNumber.c decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status); dac 2033 src/decNumber/decNumber.c decNumberCopy(inv, dac); // copy the 1/lhs dac 2039 src/decNumber/decNumber.c decNumberCopy(dac, &dnOne); // restore acc=1 dac 2051 src/decNumber/decNumber.c if (status&DEC_Overflow || ISZERO(dac)) break; dac 2058 src/decNumber/decNumber.c decMultiplyOp(dac, dac, lhs, &aset, &status); // dac=dac*x dac 2062 src/decNumber/decNumber.c decMultiplyOp(dac, dac, dac, &aset, &status); // dac=dac*dac [square] dac 2079 src/decNumber/decNumber.c dac->bits=(dac->bits & ~DECNEG) | bits; // force correct sign dac 2082 src/decNumber/decNumber.c decFinalize(dac, set, &residue, &status); dac 2083 src/decNumber/decNumber.c decNumberCopy(res, dac); // copy to result (is now OK length) dac 2091 src/decNumber/decNumber.c decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status); dac 2097 src/decNumber/decNumber.c decCopyFit(res, dac, set, &residue, &status);