dac 1828 src/decNumber/decNumber.c decNumber *dac=dacbuff; // -> result accumulator dac 1862 src/decNumber/decNumber.c decNumberCompare(dac, lhs, &dnOne, set); // lhs ? 1 dac 1864 src/decNumber/decNumber.c if (decNumberIsNegative(dac)) { // lhs<1 dac 1867 src/decNumber/decNumber.c else if (dac->lsu[0]==0) { // lhs=1 dac 1999 src/decNumber/decNumber.c dac=allocdac; // use the allocated space dac 2007 src/decNumber/decNumber.c decLnOp(dac, lhs, &aset, &status); // dac=ln(lhs) dac 2009 src/decNumber/decNumber.c if (ISZERO(dac)) { // x==1, 1.0, etc. dac 2011 src/decNumber/decNumber.c *dac->lsu=1; // was 0, make int 1 dac 2014 src/decNumber/decNumber.c dac->digits=decShiftToMost(dac->lsu, 1, shift); dac 2015 src/decNumber/decNumber.c dac->exponent=-shift; // make 1.0000... dac 2020 src/decNumber/decNumber.c decMultiplyOp(dac, dac, rhs, &aset, &status); // dac=dac*rhs dac 2021 src/decNumber/decNumber.c decExpOp(dac, dac, &aset, &status); // dac=exp(dac) dac 2027 src/decNumber/decNumber.c decNumberZero(dac); // acc=1 dac 2028 src/decNumber/decNumber.c *dac->lsu=1; // .. dac 2034 src/decNumber/decNumber.c decNumberCopy(&dnOne, dac); // dnOne=1; [needed now or later] dac 2039 src/decNumber/decNumber.c decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status); dac 2049 src/decNumber/decNumber.c decNumberCopy(inv, dac); // copy the 1/lhs dac 2055 src/decNumber/decNumber.c decNumberCopy(dac, &dnOne); // restore acc=1 dac 2067 src/decNumber/decNumber.c if (status&DEC_Overflow || ISZERO(dac)) break; dac 2074 src/decNumber/decNumber.c decMultiplyOp(dac, dac, lhs, &aset, &status); // dac=dac*x dac 2078 src/decNumber/decNumber.c decMultiplyOp(dac, dac, dac, &aset, &status); // dac=dac*dac [square] dac 2095 src/decNumber/decNumber.c dac->bits=(dac->bits & ~DECNEG) | bits; // force correct sign dac 2098 src/decNumber/decNumber.c decFinalize(dac, set, &residue, &status); dac 2099 src/decNumber/decNumber.c decNumberCopy(res, dac); // copy to result (is now OK length) dac 2107 src/decNumber/decNumber.c decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status); dac 2113 src/decNumber/decNumber.c decCopyFit(res, dac, set, &residue, &status);