Re: [PATCH, libgfortran] PR68867 numeric formatting problem in the fortran library

2015-12-12 Thread Steve Kargl
On Sat, Dec 12, 2015 at 08:14:39PM -0800, Jerry DeLisle wrote: > case 16: > + /* Adjust decimal precision depending on binary precision, 103 or 113. > */ s/103/106 I suspect that this is simply a bandaid on a much bigger problem. Namely, few of the intrinsic functions for REAL(16)

[PATCH, libgfortran] PR68867 numeric formatting problem in the fortran library

2015-12-12 Thread Jerry DeLisle
Hi all, This PR is about different binary precision of quad floats on different platforms. X86 uses libquadmath with 113 bits, PowerPC uses IBM 106 bits. For list directed output we set the default decimal precision to use. Because the PowerPC has fewer significant bits, we need to adjust the