Lines Matching refs:carry
529 static void Add16Bits(u16 *carry,u16 *a,u16 b,u16 c);
531 static void ShiftMantLeft1(u16 *carry,u16 *mantissa);
532 static void ShiftMantRight1(u16 *carry,u16 *mantissa);
768 static void Add16Bits(u16 *carry, in Add16Bits() argument
781 accum+=(u32)*carry; in Add16Bits()
782 *carry=(u16)((accum & 0x00010000) ? 1 : 0); /* New carry */ in Add16Bits()
814 static void ShiftMantLeft1(u16 *carry, in ShiftMantLeft1() argument
825 if(*carry) in ShiftMantLeft1()
827 *carry=new_carry; in ShiftMantLeft1()
839 static void ShiftMantRight1(u16 *carry, in ShiftMantRight1() argument
850 if(*carry) in ShiftMantRight1()
852 *carry=new_carry; in ShiftMantRight1()
870 u16 carry; /* Self-explanatory */ in StickyShiftRightMant() local
891 carry=0; in StickyShiftRightMant()
892 ShiftMantRight1(&carry,mantissa); in StickyShiftRightMant()
893 if(carry) in StickyShiftRightMant()
914 u16 carry; in normalize() local
923 carry = 0; in normalize()
924 ShiftMantLeft1(&carry, ptr->mantissa); in normalize()
1073 u16 carry; in AddSubInternalFPF() local
1229 carry = 0; in AddSubInternalFPF()
1232 Add16Bits(&carry, in AddSubInternalFPF()
1238 if (carry) in AddSubInternalFPF()
1241 carry=0; in AddSubInternalFPF()
1242 ShiftMantRight1(&carry,z->mantissa); in AddSubInternalFPF()
1281 u16 carry; in MultiplyInternalFPF() local
1367 carry = 0; in MultiplyInternalFPF()
1368 ShiftMantRight1(&carry, locy.mantissa); in MultiplyInternalFPF()
1369 if (carry) in MultiplyInternalFPF()
1374 carry = 0; in MultiplyInternalFPF()
1376 Add16Bits(&carry, in MultiplyInternalFPF()
1383 carry = 0; in MultiplyInternalFPF()
1391 ShiftMantRight1(&carry, z->mantissa); in MultiplyInternalFPF()
1392 ShiftMantRight1(&carry, extra_bits); in MultiplyInternalFPF()
1404 carry = 0; in MultiplyInternalFPF()
1405 ShiftMantLeft1(&carry, extra_bits); in MultiplyInternalFPF()
1406 ShiftMantLeft1(&carry, z->mantissa); in MultiplyInternalFPF()
1443 u16 carry; in DivideInternalFPF() local
1544 carry = 0; in DivideInternalFPF()
1545 ShiftMantLeft1(&carry, locx.mantissa); in DivideInternalFPF()
1546 ShiftMantLeft1(&carry, extra_bits); in DivideInternalFPF()
1551 if (carry == 0) in DivideInternalFPF()
1556 carry = 0; in DivideInternalFPF()
1565 carry = 0; in DivideInternalFPF()
1567 Sub16Bits(&carry, in DivideInternalFPF()
1571 carry = 1; /* 1 shifted into quotient */ in DivideInternalFPF()
1573 ShiftMantLeft1(&carry, z->mantissa); in DivideInternalFPF()