]> git.ipfire.org Git - thirdparty/coreutils.git/commit
seq: be more accurate with large integer start values
authorPádraig Brady <P@draigBrady.com>
Tue, 2 Sep 2025 15:35:52 +0000 (16:35 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 2 Sep 2025 19:51:55 +0000 (20:51 +0100)
commit701416709dcd5f0d6853ffe86086529afbd310b7
tree99c84fbce0afb51e58de01ad2fed83c8044432a3
parentc6397d08725e651fe81fbbd91df2043674206865
seq: be more accurate with large integer start values

* src/seq.c (main): Avoid possibly innacurate conversion
to long double, for all digit start values.
* tests/seq/seq-long-double.sh: Add a test case.
* NEWS: Mention the improvement.
Fixes https://bugs.gnu.org/79369
NEWS
src/seq.c
tests/seq/seq-long-double.sh