Lines Matching refs:t
1558 Int t; /* digits in exponent of A */ in decNumberLog10() local
1626 t=6; /* it can never be >6 */ in decNumberLog10()
1629 p=(rhs->digits+t>set->digits?rhs->digits+t:set->digits)+3; in decNumberLog10()
2990 decNumber *t=buft; /* up-to-3-digit constant or work */ in decNumberSquareRoot() local
3084 t->bits=0; t->digits=3; in decNumberSquareRoot()
3088 t->exponent=-3; in decNumberSquareRoot()
3091 t->lsu[0]=259; in decNumberSquareRoot()
3094 t->lsu[0]=59; t->lsu[1]=2; in decNumberSquareRoot()
3097 t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; in decNumberSquareRoot()
3105 t->exponent=-4; in decNumberSquareRoot()
3108 t->lsu[0]=819; in decNumberSquareRoot()
3111 t->lsu[0]=19; t->lsu[1]=8; in decNumberSquareRoot()
3114 t->lsu[0]=9; t->lsu[1]=1; t->lsu[2]=8; in decNumberSquareRoot()
3119 decAddOp(a, a, t, &workset, 0, &ignore); /* ..+t */ in decNumberSquareRoot()
3125 decNumberZero(t); /* set t = 0.5 */ in decNumberSquareRoot()
3126 t->lsu[0]=5; /* .. */ in decNumberSquareRoot()
3127 t->exponent=-1; /* .. */ in decNumberSquareRoot()
3137 decMultiplyOp(a, b, t, &workset, &ignore); /* a=b*0.5 */ in decNumberSquareRoot()
3174 t->exponent=-a->digits-1; /* make 0.5 ulp */ in decNumberSquareRoot()
3175 decAddOp(b, a, t, &workset, DECNEG, &ignore); /* b = a - 0.5 ulp */ in decNumberSquareRoot()
3181 t->exponent++; /* make 1.0 ulp */ in decNumberSquareRoot()
3182 t->lsu[0]=1; /* .. */ in decNumberSquareRoot()
3183 decAddOp(a, a, t, &workset, DECNEG, &ignore); /* a = a - 1 ulp */ in decNumberSquareRoot()
3190 decAddOp(b, a, t, &workset, 0, &ignore); /* b = a + 0.5 ulp */ in decNumberSquareRoot()
3195 t->exponent++; /* make 1.0 ulp */ in decNumberSquareRoot()
3196 t->lsu[0]=1; /* .. */ in decNumberSquareRoot()
3197 decAddOp(a, a, t, &workset, 0, &ignore); /* a = a + 1 ulp */ in decNumberSquareRoot()
3229 decCompareOp(t, b, rhs, &workset, COMPARE, &mstatus); /* b ? rhs */ in decNumberSquareRoot()
3230 if (!ISZERO(t)) status|=DEC_Inexact|DEC_Rounded; /* not equal */ in decNumberSquareRoot()
4138 const decNumber *t; in decAddOp() local
4141 t=lhs; lhs=rhs; rhs=t; in decAddOp()
5398 decNumber *t=buft; /* term */ in decExpOp() local
5558 t=allocbuft; /* use the allocated space */ in decExpOp()
5561 decNumberCopy(t, x); /* term=x */ in decExpOp()
5583 decAddOp(a, a, t, &aset, 0, status); /* a=a+t */ in decExpOp()
5584 decMultiplyOp(t, t, x, &tset, &ignore); /* t=t*x */ in decExpOp()
5585 decDivideOp(t, t, d, &tset, DIVIDE, &ignore); /* t=t/d */ in decExpOp()
5590 if (((a->digits+a->exponent)>=(t->digits+t->exponent+p+1)) in decExpOp()
5613 decNumberZero(t); *t->lsu=1; /* acc=1 */ in decExpOp()
5617 if (*status&DEC_Overflow || ISZERO(t)) break;} 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()
5628 a=t; /* and carry on using t instead of a */ in decExpOp()
5743 Int t; /* work */ local
5857 t=decGetInt(b); /* [cannot fail] */
5858 if (t<10) t=X10(t); /* adjust single-digit b */
5859 t=LNnn[t-10]; /* look up ln(b) */
5860 decNumberFromInt32(b, t>>2); /* b=ln(b) coefficient */
5861 b->exponent=-(t&3)-3; /* set exponent */