Searched refs:FormatPrecision (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APFloat.cpp | 3735 if (N <= FormatPrecision) return; in AdjustToPrecision() 3738 unsigned FirstSignificant = N - FormatPrecision; in AdjustToPrecision() 3798 if (FormatPrecision > 1) in toString() 3799 Str.append(FormatPrecision - 1, '0'); in toString() 3821 if (!FormatPrecision) { in toString() 3829 FormatPrecision = 2 + semantics->precision * 59 / 196; in toString() 3872 AdjustToPrecision(significand, exp, FormatPrecision); in toString() 3901 AdjustToPrecision(buffer, exp, FormatPrecision); in toString() 3942 if (!TruncateZero && FormatPrecision > NDigits - 1) in toString() 3943 Str.append(FormatPrecision - NDigits + 1, '0'); in toString() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 435 void toString(SmallVectorImpl<char> &Str, unsigned FormatPrecision = 0, 685 void toString(SmallVectorImpl<char> &Str, unsigned FormatPrecision, 1236 void toString(SmallVectorImpl<char> &Str, unsigned FormatPrecision = 0, 1239 toString(Str, FormatPrecision, FormatMaxPadding, TruncateZero));
|