[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
seq and infinite values
From: |
Bernhard Voelker |
Subject: |
seq and infinite values |
Date: |
Sat, 26 Jul 2014 20:06:13 +0200 |
As xstrold() allows 'inf' and other values, I noticed
'seq -w' does not work well with it.
[PATCH 1/2] seq: don't allow --equal-width option with infinite FIRST
[PATCH 2/2] doc: explicitly mention 'inf' values in seq(1)
Another edge case is
seq -- -inf 0
which does endless loop while staying at "-inf". Well, it seems
that this is mathematically correct.
BTW: xstrtold() would also allow 'NaN', but this is a more
extreme edge case for seq(1) which I don't think is
worth catching.
Have a nice day,
Berny
- seq and infinite values,
Bernhard Voelker <=
- [PATCH 1/2] seq: don't allow --equal-width option with infinite FIRST and LAST, Bernhard Voelker, 2014/07/26
- [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Bernhard Voelker, 2014/07/26
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Pádraig Brady, 2014/07/26
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Bernhard Voelker, 2014/07/29
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Pádraig Brady, 2014/07/29
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Eric Blake, 2014/07/29
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Bernhard Voelker, 2014/07/29
- Re: [PATCH 2/2] doc: explicitly mention 'inf' values in seq(1) documentation, Eric Blake, 2014/07/29