[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] SEQ BUG
From: |
Pádraig Brady |
Subject: |
Re: [PATCH] SEQ BUG |
Date: |
Fri, 22 Jun 2007 17:27:00 +0100 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20061116) |
Paul Eggert wrote:
> + /* If we go one past the end, but that number prints the
> + same way "last" does, and prints differently from the
> + previous number, then print "last". This avoids problems
> + with rounding. For example, with the x86 it causes "seq
> + 0 0.000001 0.000003" to print 0.000003 instead of
> + stopping at 0.000002. */
I haven't time to look at this now,
but will soon.
A couple of points came to mind.
Is it OK to look at just 1 value "after" last?
Aren't you susceptible to whatever rounding
printf does internally?
My approach was to pull as much info from the
user supplied _strings_ which are infinite precision.
cheers,
Pádraig.
- Re: [PATCH] SEQ BUG, (continued)
- Re: [PATCH] SEQ BUG, Andreas Schwab, 2007/06/08
- Re: [PATCH] SEQ BUG, Pádraig Brady, 2007/06/08
- [PATCH] SEQ BUG, Pádraig Brady, 2007/06/13
- Re: [PATCH] SEQ BUG, Paul Eggert, 2007/06/13
- Re: [PATCH] SEQ BUG, Pádraig Brady, 2007/06/13
- Re: [PATCH] SEQ BUG, Pádraig Brady, 2007/06/19
- Re: [PATCH] SEQ BUG, Paul Eggert, 2007/06/19
- Re: [PATCH] SEQ BUG, Pádraig Brady, 2007/06/20
- Re: [PATCH] SEQ BUG, Pádraig Brady, 2007/06/20
- Re: [PATCH] SEQ BUG, Paul Eggert, 2007/06/22
- Re: [PATCH] SEQ BUG,
Pádraig Brady <=
- Re: [PATCH] SEQ BUG, Paul Eggert, 2007/06/22
- Re: [PATCH] SEQ BUG, Jim Meyering, 2007/06/22
- Re: [PATCH] SEQ BUG, Micah Cowan, 2007/06/22
- Re: [PATCH] SEQ BUG, Paul Eggert, 2007/06/22
- Re: [PATCH] SEQ BUG, Pádraig Brady, 2007/06/22
- Re: [PATCH] SEQ BUG, Paul Eggert, 2007/06/22
- Re: [PATCH] SEQ BUG, Jim Meyering, 2007/06/23
Re: SEQ BUG, John Cowan, 2007/06/07