12.07.2015 Views

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.5.2.8 G Format ControlThe G format specifier provides generalized editing of real data. The G format has two basicforms:Gw.dGw.dEeThe specifier transfers real values; it acts like the F format control on input and depending on thevalue’s magnitude, like E or F on output. The magnitude of the data determines the output format.For details on the actual format used, based on the magnitude, refer to the ANSI FORTRANStandard (Section 13.5.9.2.3 G Editing).5.5.2.9 I Format Control – Integer DataThe I format specifier transfers integer values. The I format specifier has two basic forms:IwIw.mwhere w is the field width and m is the minimum filed width on output, including leading zeros. Ifpresent, m must not exceed width w.On input, the external field to be input must contain (unsigned) decimal characters only. An allblank field is treated as a value of zero. If the value of the external field exceeds the range of thecorresponding list element, an error occurs.On output, the I format descriptor transfers the decimal values of the corresponding I/O listelement, right-justified, to an external field that is w characters long. If the value to be transmitteddoes not fill the field, leading spaces are inserted; if the value is too large for the field, the entirefield is filled with asterisks. If m is present, the external field consists of at least m digits, and iszero-filled on the left if necessary. Note that if m is zero, and the internal representation is zero, theexternal field is blank-filled.5.5.2.10 L Format Control – Logical DataThe L format control transfers logical data of field width w:LwOn input, the list item will become defined with a logical value; the field consists of optionalblanks, followed by an optional decimal point followed by T or F. The values .TRUE. or .FALSE.may also appear in the input fieldThe output field consists of w-1 blanks followed by T or F as appropriate.162 Chapter 6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!