Lines Matching refs:aset
1435 decContext aset; /* working context */ in uprv_decNumberLog10() local
1459 uprv_decContextDefault(&aset, DEC_INIT_DECIMAL64); /* clean context */ in uprv_decNumberLog10()
1467 aset.digits=1; in uprv_decNumberLog10()
1468 decCopyFit(w, rhs, &aset, &residue, ©stat); /* copy & shorten */ in uprv_decNumberLog10()
1499 aset.digits=p; /* as calculated */ in uprv_decNumberLog10()
1500 aset.emax=DEC_MAX_MATH; /* usual bounds */ in uprv_decNumberLog10()
1501 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberLog10()
1502 aset.clamp=0; /* and no concrete format */ in uprv_decNumberLog10()
1503 decLnOp(a, rhs, &aset, &status); /* a=ln(rhs) */ in uprv_decNumberLog10()
1530 aset.digits=p; in uprv_decNumberLog10()
1531 decLnOp(b, w, &aset, &ignore); /* b=ln(10) */ in uprv_decNumberLog10()
1533 aset.digits=set->digits; /* for final divide */ in uprv_decNumberLog10()
1534 decDivideOp(res, a, b, &aset, DIVIDE, &status); /* into result */ in uprv_decNumberLog10()
1992 decContext aset; /* working context */ in uprv_decNumberPower() local
2121 uprv_decContextDefault(&aset, DEC_INIT_DECIMAL64); /* clean context */ in uprv_decNumberPower()
2122 aset.emax=DEC_MAX_MATH; /* usual bounds */ in uprv_decNumberPower()
2123 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberPower()
2124 aset.clamp=0; /* and no concrete format */ in uprv_decNumberPower()
2136 aset.digits=MAXI(lhs->digits, set->digits)+6+4; in uprv_decNumberPower()
2148 aset=*set; /* clone the context */ in uprv_decNumberPower()
2149 aset.round=DEC_ROUND_HALF_EVEN; /* internally use balanced */ in uprv_decNumberPower()
2151 aset.digits=reqdigits+(rhs->digits+rhs->exponent)+2; in uprv_decNumberPower()
2153 if (!set->extended) aset.digits--; /* use classic precision */ in uprv_decNumberPower()
2156 if (aset.digits>DECNUMMAXP) {status|=DEC_Invalid_operation; break;} in uprv_decNumberPower()
2161 needbytes=sizeof(decNumber)+(D2U(aset.digits)-1)*sizeof(Unit); in uprv_decNumberPower()
2176 decLnOp(dac, lhs, &aset, &status); /* dac=ln(lhs) */ in uprv_decNumberPower()
2189 decMultiplyOp(dac, dac, rhs, &aset, &status); /* dac=dac*rhs */ in uprv_decNumberPower()
2190 decExpOp(dac, dac, &aset, &status); /* dac=exp(dac) */ in uprv_decNumberPower()
2208 decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status); in uprv_decNumberPower()
2238 decMultiplyOp(dac, dac, lhs, &aset, &status); /* dac=dac*x */ in uprv_decNumberPower()
2242 decMultiplyOp(dac, dac, dac, &aset, &status); /* dac=dac*dac [square] */ in uprv_decNumberPower()
2271 decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status); in uprv_decNumberPower()
5270 decContext aset, tset, dset; /* working contexts */ in decExpOp() local
5350 uprv_decContextDefault(&aset, DEC_INIT_DECIMAL64); in decExpOp()
5352 aset.emax=set->emax; /* usual bounds */ in decExpOp()
5353 aset.emin=set->emin; /* .. */ in decExpOp()
5354 aset.clamp=0; /* and no concrete format */ in decExpOp()
5458 aset.digits=p*2; /* double */ in decExpOp()
5471 decAddOp(a, a, t, &aset, 0, status); /* a=a+t */ in decExpOp()
5497 aset.digits=p+2; /* sufficient precision */ in decExpOp()
5509 decMultiplyOp(t, t, a, &aset, status); /* acc=acc*x */ in decExpOp()
5513 decMultiplyOp(t, t, t, &aset, status); /* acc=acc*acc [square] */ in decExpOp()
5522 aset.digits=set->digits; /* [use default rounding] */ in decExpOp()
5523 decCopyFit(res, a, &aset, &residue, status); /* copy & shorten */ in decExpOp()
5647 decContext aset, bset; /* working contexts */ local
5683 aset=*set; aset.round=DEC_ROUND_HALF_EVEN;
5685 uprv_decNumberFromString(res, LN10, &aset);
5689 aset=*set; aset.round=DEC_ROUND_HALF_EVEN;
5691 uprv_decNumberFromString(res, LN2, &aset);
5736 uprv_decContextDefault(&aset, DEC_INIT_DECIMAL64); /* 16-digit extended */
5741 decMultiplyOp(a, a, b, &aset, &ignore); /* a=a*b */
5745 aset.digits=2; aset.round=DEC_ROUND_DOWN;
5746 decCopyFit(b, rhs, &aset, &residue, &ignore); /* copy & shorten */
5754 aset.digits=16; aset.round=DEC_ROUND_HALF_EVEN; /* restore */
5755 decAddOp(a, a, b, &aset, 0, &ignore); /* acc=a+b */
5764 aset.emax=set->emax;
5765 aset.emin=set->emin;
5766 aset.clamp=0; /* no concrete format */
5768 bset=aset;
5777 aset.digits=pp; /* working context */
5808 decCompareOp(&cmp, rhs, &numone, &aset, COMPARE, &ignore); /* rhs=1 ? */
5818 decAddOp(a, a, b, &aset, 0, &ignore); /* a=a+b for next estimate */
5823 aset.digits=pp; /* working context */
5837 aset.digits=set->digits; /* [use default rounding] */
5838 decCopyFit(res, a, &aset, &residue, status); /* copy & shorten */