[daip] g77 Dw.d specifier / UVFITS

Athol Kemball akemball at uiuc.edu
Wed May 12 09:52:35 EDT 2004


I have received some UVFITS files recently and noticed that the double 
precision table
keywords appear with exponent letter 'E' in place of 'D', so that double 
precision and
real type are not distinguished. Versions of g77 before gcc 3.5 (which has 
yet to be
released) all output Dw.d with exponent 'E' instead of 'D'. This is 
formally allowed in
the F77 standard, but not common practice with F77 compilers. This behaviour is
in gcc 2.95.3 and successors 3.x, but will be fixed in 3.5 I believe. This 
can be
easily filtered on output in FITTP - and might be a good precaution against E/D
ambiguities of this type.

Cheers,
Athol




More information about the Daip mailing list