This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] patch for output of real values on windows systems
- From: Danny Smith <danny_smith_0000 at yahoo dot co dot nz>
- To: fxcoudert at gmail dot com
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 6 Aug 2005 21:37:43 +1200 (NZST)
- Subject: Re: [gfortran] patch for output of real values on windows systems
- Reply-to: dannysmith at users dot sourceforge dot net
FX Coudert wrote:
> The provided fallback sprintf is not perfect: it prints incorrect last
> digits (at least, not similar to those printed by GNU libc) when used to
> output very large or very small long double values with high precision
> (more than 15 digits). Any practical suggestion on this is welcome.
This thread on speeding up fp printing in libstdc++ may be of interest:
[v3] FP printing, take 3
http://gcc.gnu.org/ml/libstdc++/2004-09/msg00031.html
Danny
Send instant messages to your online friends http://au.messenger.yahoo.com