Lines Matching defs:FormatPrecision
4205 int &exp, unsigned FormatPrecision) {
4209 unsigned bitsRequired = (FormatPrecision * 196 + 58) / 59;
4236 int &exp, unsigned FormatPrecision) {
4238 if (N <= FormatPrecision) return;
4241 unsigned FirstSignificant = N - FormatPrecision;
4281 APInt significand, unsigned FormatPrecision,
4288 // Set FormatPrecision if zero. We want to do this before we
4290 if (!FormatPrecision) {
4297 // FormatPrecision = 2 + floor(significandBits / lg_2(10))
4298 FormatPrecision = 2 + semanticsPrecision * 59 / 196;
4343 AdjustToPrecision(significand, exp, FormatPrecision);
4376 // Drop down to FormatPrecision.
4378 AdjustToPrecision(buffer, exp, FormatPrecision);
4392 NDigits + (unsigned) exp > FormatPrecision);
4418 // Fill with zeros up to FormatPrecision.
4419 if (!TruncateZero && FormatPrecision > NDigits - 1)
4420 Str.append(FormatPrecision - NDigits + 1, '0');
4474 void IEEEFloat::toString(SmallVectorImpl<char> &Str, unsigned FormatPrecision,
4494 if (FormatPrecision > 1)
4495 Str.append(FormatPrecision - 1, '0');
4512 toStringImpl(Str, isNegative(), exp, significand, FormatPrecision,
5367 unsigned FormatPrecision,
5372 .toString(Str, FormatPrecision, FormatMaxPadding, TruncateZero);