We should never zero-pad INF or NaN (yielding silly strings like "00inf")
even if the programmer asks for zero padding.
This commit is contained in:
parent
7f7c29db5e
commit
970a466c40
@ -908,6 +908,7 @@ reswitch: switch (ch) {
|
||||
} else
|
||||
cp = (ch >= 'a') ? "inf" : "INF";
|
||||
size = 3;
|
||||
flags &= ~ZEROPAD;
|
||||
break;
|
||||
}
|
||||
flags |= FPT;
|
||||
|
Loading…
Reference in New Issue
Block a user