Lines Matching defs:mantissa
823 // Extract the mantissa by clearing the top 12 bits (sign + exponent).
824 uint64_t mantissa = (I & (~0ULL >> 12)) | 1ULL << 52;
826 // If the exponent doesn't shift all bits out of the mantissa
828 return isNeg ? -APInt(width, mantissa >> (52 - exp)) :
829 APInt(width, mantissa >> (52 - exp));
831 // If the client didn't provide enough bits for us to shift the mantissa into
836 // Otherwise, we have to shift the mantissa bits up to the right location
837 APInt Tmp(width, mantissa);
884 // Number of bits in mantissa is 52. To obtain the mantissa value, we must
886 uint64_t mantissa;
889 mantissa = Tmp.U.pVal[0];
891 mantissa >>= n - 52; // shift down, we want the top 52 bits.
896 mantissa = hibits | lobits;
899 // The leading bit of mantissa is implicit, so get rid of it.
901 uint64_t I = sign | (exp << 52) | mantissa;