Lines Matching full:carry
531 static void Add16Bits(u16 *carry,u16 *a,u16 b,u16 c);
533 static void ShiftMantLeft1(u16 *carry,u16 *mantissa);
534 static void ShiftMantRight1(u16 *carry,u16 *mantissa);
768 ** Add b, c, and carry. Retult in a. New carry in carry.
770 static void Add16Bits(u16 *carry,
779 ** the carry.
783 accum+=(u32)*carry;
784 *carry=(u16)((accum & 0x00010000) ? 1 : 0); /* New carry */
813 ** a carry bit, which is shifted in at the beginning, and
816 static void ShiftMantLeft1(u16 *carry,
825 new_carry=accum & 0x8000; /* Get new carry */
827 if(*carry)
828 accum|=1; /* Insert previous carry */
829 *carry=new_carry;
838 ** Shift a mantissa right by 1 bit. Provides carry, as
841 static void ShiftMantRight1(u16 *carry,
850 new_carry=accum & 1; /* Get new carry */
852 if(*carry)
854 *carry=new_carry;
865 ** I.E., if a carry of 1 is shifted out of the least significant
872 u16 carry; /* Self-explanatory */
893 carry=0;
894 ShiftMantRight1(&carry,mantissa);
895 if(carry)
916 u16 carry;
925 carry = 0;
926 ShiftMantLeft1(&carry, ptr->mantissa);
1075 u16 carry;
1231 carry = 0;
1234 Add16Bits(&carry,
1240 if (carry)
1243 carry=0;
1244 ShiftMantRight1(&carry,z->mantissa);
1283 u16 carry;
1369 carry = 0;
1370 ShiftMantRight1(&carry, locy.mantissa);
1371 if (carry)
1376 carry = 0;
1378 Add16Bits(&carry,
1385 carry = 0;
1393 ShiftMantRight1(&carry, z->mantissa);
1394 ShiftMantRight1(&carry, extra_bits);
1406 carry = 0;
1407 ShiftMantLeft1(&carry, extra_bits);
1408 ShiftMantLeft1(&carry, z->mantissa);
1445 u16 carry;
1546 carry = 0;
1547 ShiftMantLeft1(&carry, locx.mantissa);
1548 ShiftMantLeft1(&carry, extra_bits);
1553 if (carry == 0)
1558 carry = 0;
1567 carry = 0;
1569 Sub16Bits(&carry,
1573 carry = 1; /* 1 shifted into quotient */
1575 ShiftMantLeft1(&carry, z->mantissa);
1675 u16 carryaccum; /* Carry accumulator */
1676 u16 mycarry; /* Local for carry */