Lines Matching refs:aset
1437 decContext aset; /* working context */ in uprv_decNumberLog10() local
1461 uprv_decContextDefault(&aset, DEC_INIT_DECIMAL64); /* clean context */ in uprv_decNumberLog10()
1469 aset.digits=1; in uprv_decNumberLog10()
1470 decCopyFit(w, rhs, &aset, &residue, ©stat); /* copy & shorten */ in uprv_decNumberLog10()
1501 aset.digits=p; /* as calculated */ in uprv_decNumberLog10()
1502 aset.emax=DEC_MAX_MATH; /* usual bounds */ in uprv_decNumberLog10()
1503 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberLog10()
1504 aset.clamp=0; /* and no concrete format */ in uprv_decNumberLog10()
1505 decLnOp(a, rhs, &aset, &status); /* a=ln(rhs) */ in uprv_decNumberLog10()
1532 aset.digits=p; in uprv_decNumberLog10()
1533 decLnOp(b, w, &aset, &ignore); /* b=ln(10) */ in uprv_decNumberLog10()
1535 aset.digits=set->digits; /* for final divide */ in uprv_decNumberLog10()
1536 decDivideOp(res, a, b, &aset, DIVIDE, &status); /* into result */ in uprv_decNumberLog10()
1994 decContext aset; /* working context */ in uprv_decNumberPower() local
2123 uprv_decContextDefault(&aset, DEC_INIT_DECIMAL64); /* clean context */ in uprv_decNumberPower()
2124 aset.emax=DEC_MAX_MATH; /* usual bounds */ in uprv_decNumberPower()
2125 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberPower()
2126 aset.clamp=0; /* and no concrete format */ in uprv_decNumberPower()
2138 aset.digits=MAXI(lhs->digits, set->digits)+6+4; in uprv_decNumberPower()
2150 aset=*set; /* clone the context */ in uprv_decNumberPower()
2151 aset.round=DEC_ROUND_HALF_EVEN; /* internally use balanced */ in uprv_decNumberPower()
2153 aset.digits=reqdigits+(rhs->digits+rhs->exponent)+2; in uprv_decNumberPower()
2155 if (!set->extended) aset.digits--; /* use classic precision */ in uprv_decNumberPower()
2158 if (aset.digits>DECNUMMAXP) {status|=DEC_Invalid_operation; break;} in uprv_decNumberPower()
2163 needbytes=sizeof(decNumber)+(D2U(aset.digits)-1)*sizeof(Unit); in uprv_decNumberPower()
2178 decLnOp(dac, lhs, &aset, &status); /* dac=ln(lhs) */ in uprv_decNumberPower()
2191 decMultiplyOp(dac, dac, rhs, &aset, &status); /* dac=dac*rhs */ in uprv_decNumberPower()
2192 decExpOp(dac, dac, &aset, &status); /* dac=exp(dac) */ in uprv_decNumberPower()
2210 decDivideOp(dac, &dnOne, lhs, &aset, DIVIDE, &status); in uprv_decNumberPower()
2240 decMultiplyOp(dac, dac, lhs, &aset, &status); /* dac=dac*x */ in uprv_decNumberPower()
2244 decMultiplyOp(dac, dac, dac, &aset, &status); /* dac=dac*dac [square] */ in uprv_decNumberPower()
2273 decDivideOp(dac, &dnOne, dac, &aset, DIVIDE, &status); in uprv_decNumberPower()
5272 decContext aset, tset, dset; /* working contexts */ in decExpOp() local
5352 uprv_decContextDefault(&aset, DEC_INIT_DECIMAL64); in decExpOp()
5354 aset.emax=set->emax; /* usual bounds */ in decExpOp()
5355 aset.emin=set->emin; /* .. */ in decExpOp()
5356 aset.clamp=0; /* and no concrete format */ in decExpOp()
5460 aset.digits=p*2; /* double */ in decExpOp()
5473 decAddOp(a, a, t, &aset, 0, status); /* a=a+t */ in decExpOp()
5499 aset.digits=p+2; /* sufficient precision */ in decExpOp()
5511 decMultiplyOp(t, t, a, &aset, status); /* acc=acc*x */ in decExpOp()
5515 decMultiplyOp(t, t, t, &aset, status); /* acc=acc*acc [square] */ in decExpOp()
5524 aset.digits=set->digits; /* [use default rounding] */ in decExpOp()
5525 decCopyFit(res, a, &aset, &residue, status); /* copy & shorten */ in decExpOp()
5649 decContext aset, bset; /* working contexts */ local
5685 aset=*set; aset.round=DEC_ROUND_HALF_EVEN;
5687 uprv_decNumberFromString(res, LN10, &aset);
5691 aset=*set; aset.round=DEC_ROUND_HALF_EVEN;
5693 uprv_decNumberFromString(res, LN2, &aset);
5738 uprv_decContextDefault(&aset, DEC_INIT_DECIMAL64); /* 16-digit extended */
5743 decMultiplyOp(a, a, b, &aset, &ignore); /* a=a*b */
5747 aset.digits=2; aset.round=DEC_ROUND_DOWN;
5748 decCopyFit(b, rhs, &aset, &residue, &ignore); /* copy & shorten */
5756 aset.digits=16; aset.round=DEC_ROUND_HALF_EVEN; /* restore */
5757 decAddOp(a, a, b, &aset, 0, &ignore); /* acc=a+b */
5766 aset.emax=set->emax;
5767 aset.emin=set->emin;
5768 aset.clamp=0; /* no concrete format */
5770 bset=aset;
5779 aset.digits=pp; /* working context */
5810 decCompareOp(&cmp, rhs, &numone, &aset, COMPARE, &ignore); /* rhs=1 ? */
5820 decAddOp(a, a, b, &aset, 0, &ignore); /* a=a+b for next estimate */
5825 aset.digits=pp; /* working context */
5839 aset.digits=set->digits; /* [use default rounding] */
5840 decCopyFit(res, a, &aset, &residue, status); /* copy & shorten */