From: Dave Love Newsgroups: comp.os.msdos.djgpp Subject: Re: double precision in g77 Date: 10 Feb 1997 12:39:38 +0000 Organization: Daresbury Laboratory, Warrington WA4 4AD, UK Lines: 19 Message-ID: References: <32FB9812 DOT 6836 AT pe DOT net> <32fda7a3 DOT 53053781 AT library DOT airnews DOT net> NNTP-Posting-Host: djlvig.dl.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp >>>>> "Tommy" == Tommy Bevins writes: Gordon Talge wrote: >> Does anyone know how to get g77 to print double precision number >> using the standard D instead of E? `standard'?? Hack the relevant routine in f/runtime/libI77, I guess. Why is this important? >> Is there some kind of format command to do this? Tommy> This looks like a bug in g77. The small code below will write Tommy> the number in D format on an SGI, but uses the E format under Tommy> DJGPP/G77. g77 support messages are best directed to the address in the manual. To report a standard violation, be prepared literally to quote chapter and verse; comparison with other compilers isn't relevant. In this case there is no bug (ANSI X3.9-1978 13.5.9.2.2).