Lines Matching full:mantissa
851 // Extract the mantissa by clearing the top 12 bits (sign + exponent).
852 uint64_t mantissa = (T.I & (~0ULL >> 12)) | 1ULL << 52;
854 // If the exponent doesn't shift all bits out of the mantissa
856 return isNeg ? -APInt(width, mantissa >> (52 - exp)) :
857 APInt(width, mantissa >> (52 - exp));
859 // If the client didn't provide enough bits for us to shift the mantissa into
864 // Otherwise, we have to shift the mantissa bits up to the right location
865 APInt Tmp(width, mantissa);
912 // Number of bits in mantissa is 52. To obtain the mantissa value, we must
914 uint64_t mantissa;
917 mantissa = Tmp.pVal[0];
919 mantissa >>= n - 52; // shift down, we want the top 52 bits.
924 mantissa = hibits | lobits;
927 // The leading bit of mantissa is implicit, so get rid of it.
933 T.I = sign | (exp << 52) | mantissa;