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()
705 significand, in SinglePrecisionToHalf() local
724 significand=map.fixed_point & 0x007fffff; in SinglePrecisionToHalf()
732 significand=significand | 0x00800000; in SinglePrecisionToHalf()
734 significand=(unsigned int) ((significand+((1 << (shift-1))-1)+ in SinglePrecisionToHalf()
735 ((significand >> shift) & 0x01)) >> shift); in SinglePrecisionToHalf()
736 return((unsigned short) (sign_bit | significand)); in SinglePrecisionToHalf()
741 if (significand == 0) in SinglePrecisionToHalf()
745 significand>>=SignificandShift; in SinglePrecisionToHalf()
746 half=(unsigned short) (sign_bit | significand | in SinglePrecisionToHalf()
747 (significand == 0) | ExponentMask); in SinglePrecisionToHalf()
751 significand=significand+((significand >> SignificandShift) & 0x01)+0x00000fff; in SinglePrecisionToHalf()
752 if ((significand & 0x00800000) != 0) in SinglePrecisionToHalf()
754 significand=0; in SinglePrecisionToHalf()
774 (significand >> SignificandShift)); in SinglePrecisionToHalf()