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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169355
@ -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