Lines Matching defs:mantissa
827 // Extract the mantissa by clearing the top 12 bits (sign + exponent).
828 uint64_t mantissa = (I & (~0ULL >> 12)) | 1ULL << 52;
830 // If the exponent doesn't shift all bits out of the mantissa
832 return isNeg ? -APInt(width, mantissa >> (52 - exp)) :
833 APInt(width, mantissa >> (52 - exp));
835 // If the client didn't provide enough bits for us to shift the mantissa into
840 // Otherwise, we have to shift the mantissa bits up to the right location
841 APInt Tmp(width, mantissa);
888 // Number of bits in mantissa is 52. To obtain the mantissa value, we must
890 uint64_t mantissa;
893 mantissa = Tmp.U.pVal[0];
895 mantissa >>= n - 52; // shift down, we want the top 52 bits.
900 mantissa = hibits | lobits;
903 // The leading bit of mantissa is implicit, so get rid of it.
905 uint64_t I = sign | (exp << 52) | mantissa;