This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: SV: Bug in printf ?
On 06/07/05, Lev Bishop wrote:
> 4) I have no idea what mingw is doing, but it's different to the
> above. Gcc constructs the same double precision constants as on cygwin
> but strtod() is different and seems to have less precision, and
> printf() seems to work with about 16 digits precision. At a glance I'd
> say it rounds to zero, with exactly the precision of
... the precision of a raw double.
Ie, it looks like the cygwin build works slightly nicer than mingw
with plenty of extra precision for conversions to and from decimal,
and round-to-even for runtime conversions, which is a good thing.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/