Lines Matching refs:mantissa
512 u16 mantissa[INTERNAL_FPF_PRECISION]; member
531 static void ShiftMantLeft1(u16 *carry,u16 *mantissa);
532 static void ShiftMantRight1(u16 *carry,u16 *mantissa);
699 dest->mantissa[i]=0; in SetInternalFPFZero()
719 dest->mantissa[i]=0; in SetInternalFPFInfinity()
737 dest->mantissa[0]=0x4000; in SetInternalFPFNaN()
739 dest->mantissa[i]=0; in SetInternalFPFNaN()
815 u16 *mantissa) in ShiftMantLeft1() argument
822 { accum=mantissa[i]; in ShiftMantLeft1()
828 mantissa[i]=accum; /* Return shifted value */ in ShiftMantLeft1()
840 u16 *mantissa) in ShiftMantRight1() argument
847 { accum=mantissa[i]; in ShiftMantRight1()
853 mantissa[i]=accum; in ShiftMantRight1()
871 u16 *mantissa; in StickyShiftRightMant() local
873 mantissa=ptr->mantissa; in StickyShiftRightMant()
885 mantissa[i]=0; in StickyShiftRightMant()
886 mantissa[INTERNAL_FPF_PRECISION-1]=1; in StickyShiftRightMant()
892 ShiftMantRight1(&carry,mantissa); in StickyShiftRightMant()
894 mantissa[INTERNAL_FPF_PRECISION-1] |= 1; in StickyShiftRightMant()
921 while ((ptr->mantissa[0] & 0x8000) == 0) in normalize()
924 ShiftMantLeft1(&carry, ptr->mantissa); in normalize()
943 if (IsMantissaZero(ptr->mantissa)) in denormalize()
989 ptr->mantissa[3] &= 0xfff8; in RoundInternalFPF()
1034 if (x->mantissa[i] > y->mantissa[i]) in choose_nan()
1039 if (x->mantissa[i] < y->mantissa[i]) in choose_nan()
1183 &z->mantissa[i], in AddSubInternalFPF()
1184 locx.mantissa[i], in AddSubInternalFPF()
1185 locy.mantissa[i]); in AddSubInternalFPF()
1200 &z->mantissa[i], in AddSubInternalFPF()
1202 z->mantissa[i]); in AddSubInternalFPF()
1214 if (IsMantissaZero(z->mantissa)) in AddSubInternalFPF()
1233 &z->mantissa[i], in AddSubInternalFPF()
1234 locx.mantissa[i], in AddSubInternalFPF()
1235 locy.mantissa[i]); in AddSubInternalFPF()
1242 ShiftMantRight1(&carry,z->mantissa); in AddSubInternalFPF()
1243 z->mantissa[0] |= 0x8000; in AddSubInternalFPF()
1247 if (z->mantissa[0] & 0x8000) in AddSubInternalFPF()
1342 if (IsMantissaZero(x->mantissa) || IsMantissaZero(y->mantissa)) in MultiplyInternalFPF()
1358 z->mantissa[i] = 0; in MultiplyInternalFPF()
1368 ShiftMantRight1(&carry, locy.mantissa); in MultiplyInternalFPF()
1377 &z->mantissa[j], in MultiplyInternalFPF()
1378 z->mantissa[j], in MultiplyInternalFPF()
1379 x->mantissa[j]); in MultiplyInternalFPF()
1391 ShiftMantRight1(&carry, z->mantissa); in MultiplyInternalFPF()
1402 while ((z->mantissa[0] & 0x8000) == 0) in MultiplyInternalFPF()
1406 ShiftMantLeft1(&carry, z->mantissa); in MultiplyInternalFPF()
1415 z->mantissa[INTERNAL_FPF_PRECISION-1] |= 1; in MultiplyInternalFPF()
1461 if (IsMantissaZero(y->mantissa)) in DivideInternalFPF()
1475 if (IsMantissaZero(x->mantissa)) in DivideInternalFPF()
1515 if (IsMantissaZero(locx.mantissa)) in DivideInternalFPF()
1517 if (IsMantissaZero(y->mantissa)) in DivideInternalFPF()
1523 if (IsMantissaZero(y->mantissa)) in DivideInternalFPF()
1538 z->mantissa[i] = 0; in DivideInternalFPF()
1542 while ((z->mantissa[0] & 0x8000) == 0) in DivideInternalFPF()
1545 ShiftMantLeft1(&carry, locx.mantissa); in DivideInternalFPF()
1554 if (y->mantissa[j] > extra_bits[j]) in DivideInternalFPF()
1559 if (y->mantissa[j] < extra_bits[j]) in DivideInternalFPF()
1570 y->mantissa[j]); in DivideInternalFPF()
1573 ShiftMantLeft1(&carry, z->mantissa); in DivideInternalFPF()
1618 dest->mantissa[i]=0; in Int32ToInternalFPF()
1639 dest->mantissa[0]=myword; in Int32ToInternalFPF()
1641 dest->mantissa[1]=myword; in Int32ToInternalFPF()
1782 ShiftMantLeft1(&mycarry,locFPFNum.mantissa); in InternalFPFToString()
1791 ShiftMantRight1(&mycarry,locFPFNum.mantissa); in InternalFPFToString()
1816 Add16Bits(&mycarry,&(IFPFComp.mantissa[k]), in InternalFPFToString()
1817 locFPFNum.mantissa[k], in InternalFPFToString()
1818 IFPF10.mantissa[k]); in InternalFPFToString()