• Home
  • Raw
  • Download

Lines Matching refs:significand

130     significand,  in HalfToSinglePrecision()  local
148 significand=(unsigned int) (half & 0x000003ff); in HalfToSinglePrecision()
151 if (significand == 0) in HalfToSinglePrecision()
155 while ((significand & SignificandMask) == 0) in HalfToSinglePrecision()
157 significand<<=1; in HalfToSinglePrecision()
161 significand&=(~SignificandMask); in HalfToSinglePrecision()
164 (significand << SignificandShift); in HalfToSinglePrecision()
171 if (significand != 0) in HalfToSinglePrecision()
172 value|=(significand << SignificandShift); in HalfToSinglePrecision()
177 significand<<=SignificandShift; in HalfToSinglePrecision()
179 significand; in HalfToSinglePrecision()
717 significand, in SinglePrecisionToHalf() local
736 significand=map.fixed_point & 0x007fffff; in SinglePrecisionToHalf()
744 significand=significand | 0x00800000; in SinglePrecisionToHalf()
746 significand=(unsigned int) ((significand+((1 << (shift-1))-1)+ in SinglePrecisionToHalf()
747 ((significand >> shift) & 0x01)) >> shift); in SinglePrecisionToHalf()
748 return((unsigned short) (sign_bit | significand)); in SinglePrecisionToHalf()
753 if (significand == 0) in SinglePrecisionToHalf()
757 significand>>=SignificandShift; in SinglePrecisionToHalf()
758 half=(unsigned short) (sign_bit | significand | in SinglePrecisionToHalf()
759 (significand == 0) | ExponentMask); in SinglePrecisionToHalf()
763 significand=significand+((significand >> SignificandShift) & 0x01)+0x00000fff; in SinglePrecisionToHalf()
764 if ((significand & 0x00800000) != 0) in SinglePrecisionToHalf()
766 significand=0; in SinglePrecisionToHalf()
786 (significand >> SignificandShift)); in SinglePrecisionToHalf()