Pádraig Brady <[EMAIL PROTECTED]> writes:

> Jim Meyering wrote:
>> 
>> Here are the ChangeLog entries since the 354-68c33a snapshot:
>> -------------------------------------
>> 
>> 2007-11-01  Jim Meyering  <[EMAIL PROTECTED]>
>> 
>>      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, [EMAIL PROTECTED]
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."


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to