[Bug fortran/47642] real(kind=16) - libquadmath - segfault on amd64 FreeBSD
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 8 20:25:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47642
--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-02-08 20:25:12 UTC ---
I am OK with using stdio-common/printf_fp.c as well. Also, after the 42 digits
we do not need to go further and can chop it maybe with a few zeros padded. At
least gfortran performas rounding directly from the string of digits and there
is a maximum width we use/assume. I don't have the code in front of me, but 42
sounds about right and for debugging purposes it is helpful to have the string
null terminated so we can insert printf calls to watch what it is doing.
More information about the Gcc-bugs
mailing list