"Luis A. Florit" <[EMAIL PROTECTED]> writes:

> the output of the command:  seq -w 1 0.2 4
> is the sequence
>
>       1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8
>
> Why there is no 4.0 in the last sequence?

Floating point roundoff error.  It's documented in the manual.

If you can submit a fix, please do!  It would improve seq.
(Warning: it won't be trivial.)


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

Reply via email to