forked from OSchip/llvm-project
parent
1e93b96117
commit
4c1e4db3ff
|
@ -344,7 +344,7 @@ namespace llvm {
|
||||||
/// 1.01E-2 4 1 1.01E-2
|
/// 1.01E-2 4 1 1.01E-2
|
||||||
void toString(SmallVectorImpl<char> &Str,
|
void toString(SmallVectorImpl<char> &Str,
|
||||||
unsigned FormatPrecision = 0,
|
unsigned FormatPrecision = 0,
|
||||||
unsigned FormatMaxPadding = 3);
|
unsigned FormatMaxPadding = 3) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
|
@ -3366,7 +3366,7 @@ namespace {
|
||||||
|
|
||||||
void APFloat::toString(SmallVectorImpl<char> &Str,
|
void APFloat::toString(SmallVectorImpl<char> &Str,
|
||||||
unsigned FormatPrecision,
|
unsigned FormatPrecision,
|
||||||
unsigned FormatMaxPadding) {
|
unsigned FormatMaxPadding) const {
|
||||||
switch (category) {
|
switch (category) {
|
||||||
case fcInfinity:
|
case fcInfinity:
|
||||||
if (isNegative())
|
if (isNegative())
|
||||||
|
|
Loading…
Reference in New Issue