[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: seq: revert Solaris 8 work-around that caused x86 regression
From: |
Pádraig Brady |
Subject: |
Re: seq: revert Solaris 8 work-around that caused x86 regression |
Date: |
Sun, 26 Oct 2008 02:07:39 +0000 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Jim Meyering wrote:
>
> powerpc-apple-darwin8.11.0
>
> --- out 2008-10-25
> +++ exp 2008-10-25
> @@ -1,2 +1,2 @@
> -18446744073709551615
> +9223372036854775807
> 9223372036854775808
>
>
> FreeBSD i386-unknown-freebsd6.1
>
> + diff -u out exp
> --- out 2008-10-25
> +++ exp 2008-10-25
> @@ -1,1026 +1,2 @@
> 9223372036854775807
> 9223372036854775808
> -9223372036854775808
> -9223372036854775808
> ...
> -9223372036854775808
> -9223372036854775808
>
> While neither is new and both should be addressed,
> fixing corner cases like these is not high priority for me.
>
> Obviously, using gmp here (like in expr and factor) would solve
> this nicely.
>
> So either the sizeof test is insufficient, or
> there are other bugs (I suspect the latter).
Me too. Some compromises with the new approaches were mentioned:
http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00202.html
> For now, I may just sweep this under the rug
> and skip the test on systems without glibc.
That's fine I think.
Running `seq` at floating point limits is certainly not common.
Pádraig.