aset 1279 src/decNumber/decNumber.c decContext aset; // working context aset 1305 src/decNumber/decNumber.c decContextDefault(&aset, DEC_INIT_DECIMAL64); // clean context aset 1313 src/decNumber/decNumber.c aset.digits=1; aset 1314 src/decNumber/decNumber.c decCopyFit(w, rhs, &aset, &residue, ©stat); // copy & shorten aset 1345 src/decNumber/decNumber.c aset.digits=p; // as calculated aset 1346 src/decNumber/decNumber.c aset.emax=DEC_MAX_MATH; // usual bounds aset 1347 src/decNumber/decNumber.c aset.emin=-DEC_MAX_MATH; // .. aset 1348 src/decNumber/decNumber.c aset.clamp=0; // and no concrete format aset 1349 src/decNumber/decNumber.c decLnOp(a, rhs, &aset, &status); // a=ln(rhs) aset 1376 src/decNumber/decNumber.c aset.digits=p; aset 1377 src/decNumber/decNumber.c decLnOp(b, w, &aset, &ignore); // b=ln(10) aset 1379 src/decNumber/decNumber.c aset.digits=set->digits; // for final divide aset 1380 src/decNumber/decNumber.c decDivideOp(res, a, b, &aset, DIVIDE, &status); // into result aset 1808 src/decNumber/decNumber.c decContext aset; // working context aset 1933 src/decNumber/decNumber.c decContextDefault(&aset, DEC_INIT_DECIMAL64); // clean context aset 1934 src/decNumber/decNumber.c aset.emax=DEC_MAX_MATH; // usual bounds aset 1935 src/decNumber/decNumber.c aset.emin=-DEC_MAX_MATH; // .. aset 1936 src/decNumber/decNumber.c aset.clamp=0; // and no concrete format aset 1948 src/decNumber/decNumber.c aset.digits=MAXI(lhs->digits, set->digits)+6+4; aset 1960 src/decNumber/decNumber.c aset=*set; // clone the context aset 1961 src/decNumber/decNumber.c aset.round=DEC_ROUND_HALF_EVEN; // internally use balanced aset 1963 src/decNumber/decNumber.c aset.digits=reqdigits+(rhs->digits+rhs->exponent)+2; aset 1964 src/decNumber/decNumber.c aset.emax=DEC_MAX_EMAX; // usual bounds aset 1965 src/decNumber/decNumber.c aset.emin=DEC_MIN_EMIN; // .. aset 1966 src/decNumber/decNumber.c aset.clamp=0; // and no concrete format aset 1968 src/decNumber/decNumber.c if (!set->extended) aset.digits--; // use classic precision aset 1971 src/decNumber/decNumber.c if (aset.digits>DECNUMMAXP) {status|=DEC_Invalid_operation; break;} aset 1976 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(aset.digits)-1)*sizeof(Unit); aset 1991 src/decNumber/decNumber.c decLnOp(dac, lhs, &aset, &status); // dac=ln(lhs) aset 2004 src/decNumber/decNumber.c decMultiplyOp(dac, dac, rhs, &aset, &status); // dac=dac*rhs aset 2005 src/decNumber/decNumber.c decExpOp(dac, dac, &aset, &status); // dac=exp(dac) aset 2023 src/decNumber/decNumber.c decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status); aset 2058 src/decNumber/decNumber.c decMultiplyOp(dac, dac, lhs, &aset, &status); // dac=dac*x aset 2062 src/decNumber/decNumber.c decMultiplyOp(dac, dac, dac, &aset, &status); // dac=dac*dac [square] aset 2091 src/decNumber/decNumber.c decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status); aset 4964 src/decNumber/decNumber.c decContext aset, tset, dset; // working contexts aset 5039 src/decNumber/decNumber.c decContextDefault(&aset, DEC_INIT_DECIMAL64); aset 5041 src/decNumber/decNumber.c aset.emax=set->emax; // usual bounds aset 5042 src/decNumber/decNumber.c aset.emin=set->emin; // .. aset 5043 src/decNumber/decNumber.c aset.clamp=0; // and no concrete format aset 5147 src/decNumber/decNumber.c aset.digits=p*2; // double aset 5157 src/decNumber/decNumber.c decAddOp(a, a, t, &aset, 0, status); // a=a+t aset 5176 src/decNumber/decNumber.c aset.digits=p+2; // sufficient precision aset 5188 src/decNumber/decNumber.c decMultiplyOp(t, t, a, &aset, status); // acc=acc*x aset 5192 src/decNumber/decNumber.c decMultiplyOp(t, t, t, &aset, status); // acc=acc*acc [square] aset 5201 src/decNumber/decNumber.c aset.digits=set->digits; // [use default rounding] aset 5202 src/decNumber/decNumber.c decCopyFit(res, a, &aset, &residue, status); // copy & shorten aset 5322 src/decNumber/decNumber.c decContext aset, bset; // working contexts aset 5353 src/decNumber/decNumber.c aset=*set; aset.round=DEC_ROUND_HALF_EVEN; aset 5355 src/decNumber/decNumber.c decNumberFromString(res, LN10, &aset); aset 5359 src/decNumber/decNumber.c aset=*set; aset.round=DEC_ROUND_HALF_EVEN; aset 5361 src/decNumber/decNumber.c decNumberFromString(res, LN2, &aset); aset 5406 src/decNumber/decNumber.c decContextDefault(&aset, DEC_INIT_DECIMAL64); // 16-digit extended aset 5411 src/decNumber/decNumber.c decMultiplyOp(a, a, b, &aset, &ignore); // a=a*b aset 5415 src/decNumber/decNumber.c aset.digits=2; aset.round=DEC_ROUND_DOWN; aset 5416 src/decNumber/decNumber.c decCopyFit(b, rhs, &aset, &residue, &ignore); // copy & shorten aset 5429 src/decNumber/decNumber.c aset.digits=16; aset.round=DEC_ROUND_HALF_EVEN; // restore aset 5430 src/decNumber/decNumber.c decAddOp(a, a, b, &aset, 0, &ignore); // acc=a+b aset 5439 src/decNumber/decNumber.c aset.emax=set->emax; aset 5440 src/decNumber/decNumber.c aset.emin=set->emin; aset 5441 src/decNumber/decNumber.c aset.clamp=0; // no concrete format aset 5443 src/decNumber/decNumber.c aset.emax=DEC_MAX_MATH*2; aset 5444 src/decNumber/decNumber.c aset.emin=-DEC_MAX_MATH*2; aset 5447 src/decNumber/decNumber.c bset=aset; aset 5456 src/decNumber/decNumber.c aset.digits=pp; // working context aset 5483 src/decNumber/decNumber.c decCompareOp(&cmp, rhs, &numone, &aset, COMPARE, &ignore); // rhs=1 ? aset 5493 src/decNumber/decNumber.c decAddOp(a, a, b, &aset, 0, &ignore); // a=a+b for next estimate aset 5498 src/decNumber/decNumber.c aset.digits=pp; // working context aset 5505 src/decNumber/decNumber.c aset.digits=set->digits; // [use default rounding] aset 5506 src/decNumber/decNumber.c decCopyFit(res, a, &aset, &residue, status); // copy & shorten