### 8.3.2.3 D Field Descriptor

The D field descriptor transfers real values in exponential form. It takes the following form:

    Dw.d

The corresponding I/O list element must have a real data type or it must be either the real or the imaginary part of a complex data type.

Input Processing

In an input statement, the D field descriptor transfers w characters from the external field and assigns them as a real value to the corresponding I/O list element. The D field descriptor interprets and assigns data in exactly the same way as the F (and E) field descriptor (see Section 8.3.2.1).

The following list illustrates valid input processing using the D field descriptor (the symbol ^ represents a nonprinting space character):

    Format     External Field       Internal Value

    BZ,D10.2   12345^^^^^           12345000.0D0

    D10.2      ^^123.45^^                123.45D0

    D15.3      367.4981763D+04             3.674981763D+06

Output Processing

In an output statement, the D field descriptor has the same effect as the E field descriptor, except that the D exponent field indicator is used in place of the E indicator.

The following list illustrates valid output processing using the D field descriptor (the symbol ^ represents a nonprinting space character):

    Format      Internal Value       External Representation

    D14.3          0.0363            ^^^^^0.363D-01

    D23.12      5413.87625793        ^^^^^0.541387625793D+04

    D9.6           1.2               *********

Previous Page Next Page Table of Contents