Lines Matching refs:u16
455 #define u16 unsigned short macro
514 u16 mantissa[INTERNAL_FPF_PRECISION];
530 static int IsMantissaZero(u16 *mant);
531 static void Add16Bits(u16 *carry,u16 *a,u16 b,u16 c);
532 static void Sub16Bits(u16 *borrow,u16 *a,u16 b,u16 c);
533 static void ShiftMantLeft1(u16 *carry,u16 *mantissa);
534 static void ShiftMantRight1(u16 *carry,u16 *mantissa);
753 static int IsMantissaZero(u16 *mant) in IsMantissaZero()
770 static void Add16Bits(u16 *carry, in Add16Bits()
771 u16 *a, in Add16Bits()
772 u16 b, in Add16Bits()
773 u16 c) in Add16Bits()
784 *carry=(u16)((accum & 0x00010000) ? 1 : 0); /* New carry */ in Add16Bits()
785 *a=(u16)(accum & 0xFFFF); /* Result is lo 16 bits */ in Add16Bits()
794 static void Sub16Bits(u16 *borrow, in Sub16Bits()
795 u16 *a, in Sub16Bits()
796 u16 b, in Sub16Bits()
797 u16 c) in Sub16Bits()
805 *a=(u16)(accum & 0xFFFF); in Sub16Bits()
816 static void ShiftMantLeft1(u16 *carry, in ShiftMantLeft1()
817 u16 *mantissa) in ShiftMantLeft1()
821 u16 accum; /* Temporary holding placed */ in ShiftMantLeft1()
841 static void ShiftMantRight1(u16 *carry, in ShiftMantRight1()
842 u16 *mantissa) in ShiftMantRight1()
846 u16 accum; in ShiftMantRight1()
872 u16 carry; /* Self-explanatory */ in StickyShiftRightMant()
873 u16 *mantissa; in StickyShiftRightMant()
916 u16 carry; in normalize()
1074 u16 borrow; in AddSubInternalFPF()
1075 u16 carry; in AddSubInternalFPF()
1283 u16 carry; in MultiplyInternalFPF()
1284 u16 extra_bits[INTERNAL_FPF_PRECISION]; in MultiplyInternalFPF()
1445 u16 carry; in DivideInternalFPF()
1446 u16 extra_bits[INTERNAL_FPF_PRECISION]; in DivideInternalFPF()
1602 u16 myword; /* Used to hold converted stuff */ in Int32ToInternalFPF()
1640 myword=(u16)((mylong >> 16) & 0xFFFFL); in Int32ToInternalFPF()
1642 myword=(u16)(mylong & 0xFFFFL); in Int32ToInternalFPF()
1675 u16 carryaccum; /* Carry accumulator */ in InternalFPFToString()
1676 u16 mycarry; /* Local for carry */ in InternalFPFToString()