[Top][All Lists]

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

Re: *printf %f and uClibc

From: Paul Eggert
Subject: Re: *printf %f and uClibc
Date: Sat, 09 Jun 2007 00:01:33 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Bruno Haible <address@hidden> writes:

> should return "1234321234321234.000000" ...
> but returns   "1234321234321234.000010".
> Should this be worked around in gnulib, or do you find such unmotivated
> rounding errors acceptable?

Personally I'd say it should be worked around, but that it's low

What do the relevant standards say?  If memory serves, IEEE-754
doesn't require accuracy if you ask for more than 17 digits of output.
That might be an argument for leaving it alone.

reply via email to

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