Lines Matching refs:FormatPrecision
4067 int &exp, unsigned FormatPrecision) { in AdjustToPrecision() argument
4071 unsigned bitsRequired = (FormatPrecision * 196 + 58) / 59; in AdjustToPrecision()
4098 int &exp, unsigned FormatPrecision) { in AdjustToPrecision() argument
4100 if (N <= FormatPrecision) return; in AdjustToPrecision()
4103 unsigned FirstSignificant = N - FormatPrecision; in AdjustToPrecision()
4143 APInt significand, unsigned FormatPrecision, in toStringImpl() argument
4152 if (!FormatPrecision) { in toStringImpl()
4160 FormatPrecision = 2 + semanticsPrecision * 59 / 196; in toStringImpl()
4205 AdjustToPrecision(significand, exp, FormatPrecision); in toStringImpl()
4240 AdjustToPrecision(buffer, exp, FormatPrecision); in toStringImpl()
4254 NDigits + (unsigned) exp > FormatPrecision); in toStringImpl()
4281 if (!TruncateZero && FormatPrecision > NDigits - 1) in toStringImpl()
4282 Str.append(FormatPrecision - NDigits + 1, '0'); in toStringImpl()
4336 void IEEEFloat::toString(SmallVectorImpl<char> &Str, unsigned FormatPrecision, in toString() argument
4356 if (FormatPrecision > 1) in toString()
4357 Str.append(FormatPrecision - 1, '0'); in toString()
4374 toStringImpl(Str, isNegative(), exp, significand, FormatPrecision, in toString()
5221 unsigned FormatPrecision, in toString() argument
5226 .toString(Str, FormatPrecision, FormatMaxPadding, TruncateZero); in toString()