summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-06-22 02:12:32 +0100
committerPádraig Brady <P@draigBrady.com>2015-06-22 02:21:02 +0100
commitbc9d16b79f4e8c25e13be63f846cfd7152b65da1 (patch)
treef59de970119880a9a860a2ca258c4ad64677a0c3 /NEWS
parenta3c3e1e9e6d2d953692f1eb24efa9ac7c7448044 (diff)
downloadcoreutils-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--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3b3000034..99a930133 100644
--- a/NEWS
+++ b/NEWS
@@ -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.