diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-06-22 02:12:32 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-06-22 02:21:02 +0100 |
commit | bc9d16b79f4e8c25e13be63f846cfd7152b65da1 (patch) | |
tree | f59de970119880a9a860a2ca258c4ad64677a0c3 /NEWS | |
parent | a3c3e1e9e6d2d953692f1eb24efa9ac7c7448044 (diff) | |
download | coreutils-bc9d16b79f4e8c25e13be63f846cfd7152b65da1.tar.xz |
numfmt: handle leading zeros correctly
* src/numfmt.c (simple_strtod_int): Don't count leading zeros
as significant digits. Also have leading zeros as optional
for floating point numbers.
* tests/misc/numfmt.pl: Add test cases.
* NEWS: Mention the fix.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -35,6 +35,10 @@ GNU coreutils NEWS -*- outline -*- large numbers, or with numbers with increased precision. [bug introduced when numfmt was added in coreutils-8.21] + numfmt now handles leading zeros correctly, not counting them when + settings processing limits, and making them optional with floating point. + [bug introduced when numfmt was added in coreutils-8.21] + paste no longer truncates output for large input files. This would happen for example with files larger than 4GiB on 32 bit systems with a '\n' character at the 4GiB position. |