bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new snapshot


From: Andreas Schwab
Subject: Re: new snapshot
Date: Fri, 02 Nov 2007 11:29:22 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Pádraig Brady <address@hidden> writes:

> Jim Meyering wrote:
>> 
>> Here are the ChangeLog entries since the 354-68c33a snapshot:
>> -------------------------------------
>> 
>> 2007-11-01  Jim Meyering  <address@hidden>
>> 
>>      Adjust a seq subtest not to depend on the vagaries of floating point.
>>      * tests/misc/seq (float-3): Use 10.94 as the endpoint, not 10.95,
>>      since 10.95 was precisely in the middle of the interval, and with
>>      a %.1f format could map to either 10.9 or 11.0.
>>      Reported by Mike Frysinger
>
> I agree with the work around, but that's one buggy
> printf rounding implementation if you ask me.

Where do you think it is buggy?  This is the classical effect of double
rounding, and the printf formatting is doing exactly the right thing.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]