Vincent Rossetto wrote:
> Hi
> 
> I have the coreutils version 5.97.
> 
> I wonder why the behaviour of seq is different
> for integer and non-integer INCREMENT.
> 
> Examples:
> $ seq 10 10 30
> 10
> 20
> 30
> $ seq 0.1 0.1 0.3
> 0.1
> 0.2
> $
> 
> According to the man page, it should be the same result
> namely the first example, which is correct.

The info page for your version should give you
more info about this floating point related issue.

Actually this issue was fixed in the recently released version 6.9.90
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=blob;f=NEWS

coreutils releases tend to be slow about propagating to
distributions for various reasons unfortunately.

Pádraig.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to