Visible to Intel only — GUID: GUID-51CCF0B3-4198-4C68-9AE1-8568BAE990E8
Visible to Intel only — GUID: GUID-51CCF0B3-4198-4C68-9AE1-8568BAE990E8
EX Editing
The EX data edit descriptor transfers real values represented as hexadecimal-significand numbers. It takes the following form:
EXw.d[Ee]
The w is the external field width, unless it is zero. d is the width of the fractional part of the number, unless it is 0.
If w or d are zero, the processor picks the external field width or the width of the fractional part, respectively. d cannot be zero if the radix of the internal value is not a power of two. The hexadecimal point appears after the first hexadecimal digit and it represented by the decimal symbol.
The e, if present and non-zero, is the number of digits in the exponent. If Ee is not present, or e is zero, the exponent contains the minimum number of digits needed to represent the exponent. e is ignored on input.
The specified I/O list item must be of type real, or it must be the real or imaginary part of a complex type.
Rules for Input Processing
The form and interpretation is the same as that for Fw.d editing.
Rules for Output Processing
The form of the external field for an internal value that is an IEEE infinity or NaN is the same as for Fw.d. Otherwise, it takes the form:
[+|-]0Xx0.x1x2…exp
where the plus or minus sign is optional, the period signifies the decimal signal, x0x1x2 are the most significant hexadecimal digits after rounding if d is non-zero, and exp is the exponent.
For EXw.dEe with e greater than zero, the form is P[+|-]z1z2…ze. For EXw.d and EXw.dE0, the form of the exponent is P[+|-]z1z2…zn where n is the minimum number of digits required to represent the exponent. The exponent sign is always produced and is plus if the exponent is zero. The choice of the binary exponent is processor dependent.
The following shows possible output using the EX edit descriptor if SS is in effect:
Format Value Output EX10.2 42.5 0XA.A0P+2 EX0.0E1 6502.0 0XC.B3P+9 EX9.0E2 -0.0 -0X0.P+00