Lines Matching full:aset

1574   decContext aset;		   /* working context */  in decNumberLog10()  local
1598 decContextDefault(&aset, DEC_INIT_DECIMAL64); /* clean context */ in decNumberLog10()
1606 aset.digits=1; in decNumberLog10()
1607 decCopyFit(w, rhs, &aset, &residue, &copystat); /* copy & shorten */ in decNumberLog10()
1638 aset.digits=p; /* as calculated */ in decNumberLog10()
1639 aset.emax=DEC_MAX_MATH; /* usual bounds */ in decNumberLog10()
1640 aset.emin=-DEC_MAX_MATH; /* .. */ in decNumberLog10()
1641 aset.clamp=0; /* and no concrete format */ in decNumberLog10()
1642 decLnOp(a, rhs, &aset, &status); /* a=ln(rhs) */ in decNumberLog10()
1669 aset.digits=p; in decNumberLog10()
1670 decLnOp(b, w, &aset, &ignore); /* b=ln(10) */ in decNumberLog10()
1672 aset.digits=set->digits; /* for final divide */ in decNumberLog10()
1673 decDivideOp(res, a, b, &aset, DIVIDE, &status); /* into result */ in decNumberLog10()
2127 decContext aset; /* working context */ in decNumberPower() local
2256 decContextDefault(&aset, DEC_INIT_DECIMAL64); /* clean context */ in decNumberPower()
2257 aset.emax=DEC_MAX_MATH; /* usual bounds */ in decNumberPower()
2258 aset.emin=-DEC_MAX_MATH; /* .. */ in decNumberPower()
2259 aset.clamp=0; /* and no concrete format */ in decNumberPower()
2271 aset.digits=MAXI(lhs->digits, set->digits)+6+4; in decNumberPower()
2283 aset=*set; /* clone the context */ in decNumberPower()
2284 aset.round=DEC_ROUND_HALF_EVEN; /* internally use balanced */ in decNumberPower()
2286 aset.digits=reqdigits+(rhs->digits+rhs->exponent)+2; in decNumberPower()
2288 if (!set->extended) aset.digits--; /* use classic precision */ in decNumberPower()
2291 if (aset.digits>DECNUMMAXP) {status|=DEC_Invalid_operation; break;} in decNumberPower()
2294 /* aset.digits is the count of digits for the accumulator needed */ in decNumberPower()
2296 needbytes=sizeof(decNumber)+(D2U(aset.digits)-1)*sizeof(Unit); in decNumberPower()
2305 /* here, aset is set up and accumulator is ready for use */ in decNumberPower()
2311 decLnOp(dac, lhs, &aset, &status); /* dac=ln(lhs) */ in decNumberPower()
2324 decMultiplyOp(dac, dac, rhs, &aset, &status); /* dac=dac*rhs */ in decNumberPower()
2325 decExpOp(dac, dac, &aset, &status); /* dac=exp(dac) */ in decNumberPower()
2343 decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status); in decNumberPower()
2373 decMultiplyOp(dac, dac, lhs, &aset, &status); /* dac=dac*x */ in decNumberPower()
2377 decMultiplyOp(dac, dac, dac, &aset, &status); /* dac=dac*dac [square] */ in decNumberPower()
2395 /* round subnormals [to set.digits rather than aset.digits] */ in decNumberPower()
2406 decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status); in decNumberPower()
5382 decContext aset, tset, dset; /* working contexts */ in decExpOp() local
5462 decContextDefault(&aset, DEC_INIT_DECIMAL64); in decExpOp()
5464 aset.emax=set->emax; /* usual bounds */ in decExpOp()
5465 aset.emin=set->emin; /* .. */ in decExpOp()
5466 aset.clamp=0; /* and no concrete format */ in decExpOp()
5570 aset.digits=p*2; /* double */ in decExpOp()
5583 decAddOp(a, a, t, &aset, 0, status); /* a=a+t */ in decExpOp()
5609 aset.digits=p+2; /* sufficient precision */ in decExpOp()
5621 decMultiplyOp(t, t, a, &aset, status); /* acc=acc*x */ in decExpOp()
5625 decMultiplyOp(t, t, t, &aset, status); /* acc=acc*acc [square] */ in decExpOp()
5634 aset.digits=set->digits; /* [use default rounding] */ in decExpOp()
5635 decCopyFit(res, a, &aset, &residue, status); /* copy & shorten */ in decExpOp()
5756 decContext aset, bset; /* working contexts */ local
5792 aset=*set; aset.round=DEC_ROUND_HALF_EVEN;
5794 decNumberFromString(res, LN10, &aset);
5798 aset=*set; aset.round=DEC_ROUND_HALF_EVEN;
5800 decNumberFromString(res, LN2, &aset);
5845 decContextDefault(&aset, DEC_INIT_DECIMAL64); /* 16-digit extended */
5850 decMultiplyOp(a, a, b, &aset, &ignore); /* a=a*b */
5854 aset.digits=2; aset.round=DEC_ROUND_DOWN;
5855 decCopyFit(b, rhs, &aset, &residue, &ignore); /* copy & shorten */
5863 aset.digits=16; aset.round=DEC_ROUND_HALF_EVEN; /* restore */
5864 decAddOp(a, a, b, &aset, 0, &ignore); /* acc=a+b */
5873 aset.emax=set->emax;
5874 aset.emin=set->emin;
5875 aset.clamp=0; /* no concrete format */
5877 bset=aset;
5886 aset.digits=pp; /* working context */
5917 decCompareOp(&cmp, rhs, &numone, &aset, COMPARE, &ignore); /* rhs=1 ? */
5927 decAddOp(a, a, b, &aset, 0, &ignore); /* a=a+b for next estimate */
5932 aset.digits=pp; /* working context */
5946 aset.digits=set->digits; /* [use default rounding] */
5947 decCopyFit(res, a, &aset, &residue, status); /* copy & shorten */