Lines Matching full:coefficient
157 /* lsd -- least significant digit (of coefficient) */
158 /* lsu -- least significant Unit (of coefficient) */
159 /* msd -- most significant digit (of coefficient) */
161 /* msu -- most significant Unit (of coefficient) */
646 /* The length of the coefficient and the size of the exponent are */
749 /* good; drop through to convert the integer to coefficient */ in decNumberFromString()
826 /* Place the coefficient into the selected Unit array */ in decNumberFromString()
911 dzero.exponent=rhs->exponent; /* [no coefficient expansion] */ in decNumberAbs()
1804 dzero.exponent=rhs->exponent; /* [no coefficient expansion] */ in decNumberMinus()
2046 dzero.exponent=rhs->exponent; /* [no coefficient expansion] */ in decNumberPlus()
2434 /* This computes C = op(A, B), where op adjusts the coefficient */
2522 /* This computes C = op(A, B), where op adjusts the coefficient */
2592 /* decNumberRotate -- rotate the coefficient of a Number left/right */
2602 /* The digits of the coefficient of A are rotated to the left (if B */
2605 /* set->digits the coefficient is padded with zeros on the left */
2809 /* decNumberShift -- shift the coefficient of a Number left or right */
2818 /* The digits of the coefficient of A are shifted to the left (if B */
3595 /* decNumberGetBCD -- get the coefficient in BCD8 */
3602 /* dn is a NaN or Infinite, digits must be 1 and the coefficient 0. */
3627 /* decNumberSetBCD -- set (replace) the coefficient from BCD8 */
3798 /* if not a clean non-zero coefficient, that's all there is in a */ in decToString()
3848 /* lay out the digits of the coefficient, adding 0s and . as needed */ in decToString()
3929 /* If possible, the coefficient is calculated directly into C. */
3935 /* overlap the A or B coefficient */
4359 /* var1 is a copy of the lhs coefficient, var2 is the rhs coefficient.*/
4796 /* check for coefficient overflow */ in decDivideOp()
4816 decNumberZero(res); /* 0 coefficient */ in decDivideOp()
4861 /* remainder's coefficient, which must now be compared to the */ in decDivideOp()
4926 /* Now the coefficient. */ in decDivideOp()
5277 /* Set the coefficient. If any rounding, residue records */ in decMultiplyOp()
5468 /* decimal point is just to the left of the coefficient msd) */ in decExpOp()
5649 /* The result is a 4-digit encode of the coefficient (c=the */
5836 /* considering the coefficient of x to be a normalized fraction, */
5859 decNumberFromInt32(b, t>>2); /* b=ln(b) coefficient */
5959 /* This computes C = op(A, B), where op adjusts the coefficient */
6047 if (ISZERO(lhs)) { /* zero coefficient unchanged */
6056 /* if adjusted coefficient will definitely not fit, give up now */
6063 /* this will decrease the length of the coefficient by adjust */
6090 /* this will increase the length of the coefficient by -adjust */
6149 /* coefficient comparison if possible. */
6978 /* decCopyFit -- copy a number, truncating the coefficient if needed */
6997 /* decSetCoeff -- set the coefficient of a number */
6999 /* dn is the number whose coefficient array is to be set. */
7002 /* lsu -> lsu of the source coefficient [may be dn->lsu] */
7003 /* len is digits in the source coefficient [may be dn->digits] */
7007 /* coefficient is truncated and the residue is updated to */
7011 /* The coefficient may already be in the number, or it can be an */
7015 /* Note that the coefficient length (len) may be < set->digits, and */
7016 /* in this case this merely copies the coefficient (or is a no-op */
7049 /* copy the coefficient array to the result number; no shift needed */
7077 *dn->lsu=0; /* coefficient will now be 0 */
7159 /* shift-copy the coefficient array to the result number */
7194 /* 0: the coefficient is exact */
7197 /* coefficient must be non-0. This case occurs when */
7203 /* coefficient constant. The exponent and status are unchanged */
7206 /* -- the coefficient was increased and is all nines (in which */
7210 /* -- the coefficient was decreased and becomes all nines (in which */
7218 Int bump; /* 1 if coefficient needs to be incremented */
7219 /* -1 if coefficient needs to be decremented */
7474 /* shift coefficient (if non-zero) */
7613 /* it may already be inexact (from setting the coefficient) */
7766 /* decDecap -- decapitate the coefficient of a number */
7770 /* this must be <= dn->digits (if equal, the coefficient is */
7868 /* [coefficient was copied/decapitated] */
7987 /* Shows: sign, exponent, coefficient (msu first), digits */
8007 /* if coefficient and exponent are 0, no more to do */
8015 /* now carefully display the coefficient */
8175 /* check the coefficient */