Lines Matching defs:FormatPrecision
4067 int &exp, unsigned FormatPrecision) {
4071 unsigned bitsRequired = (FormatPrecision * 196 + 58) / 59;
4098 int &exp, unsigned FormatPrecision) {
4100 if (N <= FormatPrecision) return;
4103 unsigned FirstSignificant = N - FormatPrecision;
4143 APInt significand, unsigned FormatPrecision,
4150 // Set FormatPrecision if zero. We want to do this before we
4152 if (!FormatPrecision) {
4159 // FormatPrecision = 2 + floor(significandBits / lg_2(10))
4160 FormatPrecision = 2 + semanticsPrecision * 59 / 196;
4205 AdjustToPrecision(significand, exp, FormatPrecision);
4238 // Drop down to FormatPrecision.
4240 AdjustToPrecision(buffer, exp, FormatPrecision);
4254 NDigits + (unsigned) exp > FormatPrecision);
4280 // Fill with zeros up to FormatPrecision.
4281 if (!TruncateZero && FormatPrecision > NDigits - 1)
4282 Str.append(FormatPrecision - NDigits + 1, '0');
4336 void IEEEFloat::toString(SmallVectorImpl<char> &Str, unsigned FormatPrecision,
4356 if (FormatPrecision > 1)
4357 Str.append(FormatPrecision - 1, '0');
4374 toStringImpl(Str, isNegative(), exp, significand, FormatPrecision,
5221 unsigned FormatPrecision,
5226 .toString(Str, FormatPrecision, FormatMaxPadding, TruncateZero);