aset 1295 src/decNumber/decNumber.c decContext aset; // working context aset 1321 src/decNumber/decNumber.c decContextDefault(&aset, DEC_INIT_DECIMAL64); // clean context aset 1329 src/decNumber/decNumber.c aset.digits=1; aset 1330 src/decNumber/decNumber.c decCopyFit(w, rhs, &aset, &residue, ©stat); // copy & shorten aset 1361 src/decNumber/decNumber.c aset.digits=p; // as calculated aset 1362 src/decNumber/decNumber.c aset.emax=DEC_MAX_MATH; // usual bounds aset 1363 src/decNumber/decNumber.c aset.emin=-DEC_MAX_MATH; // .. aset 1364 src/decNumber/decNumber.c aset.clamp=0; // and no concrete format aset 1365 src/decNumber/decNumber.c decLnOp(a, rhs, &aset, &status); // a=ln(rhs) aset 1392 src/decNumber/decNumber.c aset.digits=p; aset 1393 src/decNumber/decNumber.c decLnOp(b, w, &aset, &ignore); // b=ln(10) aset 1395 src/decNumber/decNumber.c aset.digits=set->digits; // for final divide aset 1396 src/decNumber/decNumber.c decDivideOp(res, a, b, &aset, DIVIDE, &status); // into result aset 1824 src/decNumber/decNumber.c decContext aset; // working context aset 1949 src/decNumber/decNumber.c decContextDefault(&aset, DEC_INIT_DECIMAL64); // clean context aset 1950 src/decNumber/decNumber.c aset.emax=DEC_MAX_MATH; // usual bounds aset 1951 src/decNumber/decNumber.c aset.emin=-DEC_MAX_MATH; // .. aset 1952 src/decNumber/decNumber.c aset.clamp=0; // and no concrete format aset 1964 src/decNumber/decNumber.c aset.digits=MAXI(lhs->digits, set->digits)+6+4; aset 1976 src/decNumber/decNumber.c aset=*set; // clone the context aset 1977 src/decNumber/decNumber.c aset.round=DEC_ROUND_HALF_EVEN; // internally use balanced aset 1979 src/decNumber/decNumber.c aset.digits=reqdigits+(rhs->digits+rhs->exponent)+2; aset 1980 src/decNumber/decNumber.c aset.emax=DEC_MAX_EMAX; // usual bounds aset 1981 src/decNumber/decNumber.c aset.emin=DEC_MIN_EMIN; // .. aset 1982 src/decNumber/decNumber.c aset.clamp=0; // and no concrete format aset 1984 src/decNumber/decNumber.c if (!set->extended) aset.digits--; // use classic precision aset 1987 src/decNumber/decNumber.c if (aset.digits>DECNUMMAXP) {status|=DEC_Invalid_operation; break;} aset 1992 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(aset.digits)-1)*sizeof(Unit); aset 2007 src/decNumber/decNumber.c decLnOp(dac, lhs, &aset, &status); // dac=ln(lhs) aset 2020 src/decNumber/decNumber.c decMultiplyOp(dac, dac, rhs, &aset, &status); // dac=dac*rhs aset 2021 src/decNumber/decNumber.c decExpOp(dac, dac, &aset, &status); // dac=exp(dac) aset 2039 src/decNumber/decNumber.c decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status); aset 2074 src/decNumber/decNumber.c decMultiplyOp(dac, dac, lhs, &aset, &status); // dac=dac*x aset 2078 src/decNumber/decNumber.c decMultiplyOp(dac, dac, dac, &aset, &status); // dac=dac*dac [square] aset 2107 src/decNumber/decNumber.c decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status); aset 4984 src/decNumber/decNumber.c decContext aset, tset, dset; // working contexts aset 5059 src/decNumber/decNumber.c decContextDefault(&aset, DEC_INIT_DECIMAL64); aset 5061 src/decNumber/decNumber.c aset.emax=set->emax; // usual bounds aset 5062 src/decNumber/decNumber.c aset.emin=set->emin; // .. aset 5063 src/decNumber/decNumber.c aset.clamp=0; // and no concrete format aset 5167 src/decNumber/decNumber.c aset.digits=p*2; // double aset 5177 src/decNumber/decNumber.c decAddOp(a, a, t, &aset, 0, status); // a=a+t aset 5196 src/decNumber/decNumber.c aset.digits=p+2; // sufficient precision aset 5208 src/decNumber/decNumber.c decMultiplyOp(t, t, a, &aset, status); // acc=acc*x aset 5212 src/decNumber/decNumber.c decMultiplyOp(t, t, t, &aset, status); // acc=acc*acc [square] aset 5221 src/decNumber/decNumber.c aset.digits=set->digits; // [use default rounding] aset 5222 src/decNumber/decNumber.c decCopyFit(res, a, &aset, &residue, status); // copy & shorten aset 5342 src/decNumber/decNumber.c decContext aset, bset; // working contexts aset 5373 src/decNumber/decNumber.c aset=*set; aset.round=DEC_ROUND_HALF_EVEN; aset 5375 src/decNumber/decNumber.c decNumberFromString(res, LN10, &aset); aset 5379 src/decNumber/decNumber.c aset=*set; aset.round=DEC_ROUND_HALF_EVEN; aset 5381 src/decNumber/decNumber.c decNumberFromString(res, LN2, &aset); aset 5426 src/decNumber/decNumber.c decContextDefault(&aset, DEC_INIT_DECIMAL64); // 16-digit extended aset 5431 src/decNumber/decNumber.c decMultiplyOp(a, a, b, &aset, &ignore); // a=a*b aset 5435 src/decNumber/decNumber.c aset.digits=2; aset.round=DEC_ROUND_DOWN; aset 5436 src/decNumber/decNumber.c decCopyFit(b, rhs, &aset, &residue, &ignore); // copy & shorten aset 5449 src/decNumber/decNumber.c aset.digits=16; aset.round=DEC_ROUND_HALF_EVEN; // restore aset 5450 src/decNumber/decNumber.c decAddOp(a, a, b, &aset, 0, &ignore); // acc=a+b aset 5459 src/decNumber/decNumber.c aset.emax=set->emax; aset 5460 src/decNumber/decNumber.c aset.emin=set->emin; aset 5461 src/decNumber/decNumber.c aset.clamp=0; // no concrete format aset 5463 src/decNumber/decNumber.c aset.emax=DEC_MAX_MATH*2; aset 5464 src/decNumber/decNumber.c aset.emin=-DEC_MAX_MATH*2; aset 5467 src/decNumber/decNumber.c bset=aset; aset 5476 src/decNumber/decNumber.c aset.digits=pp; // working context aset 5503 src/decNumber/decNumber.c decCompareOp(&cmp, rhs, &numone, &aset, COMPARE, &ignore); // rhs=1 ? aset 5513 src/decNumber/decNumber.c decAddOp(a, a, b, &aset, 0, &ignore); // a=a+b for next estimate aset 5518 src/decNumber/decNumber.c aset.digits=pp; // working context aset 5525 src/decNumber/decNumber.c aset.digits=set->digits; // [use default rounding] aset 5526 src/decNumber/decNumber.c decCopyFit(res, a, &aset, &residue, status); // copy & shorten