Download Language Reference Manual

Transcript
Figure A–5 G_floating-Point Data Representation
15 14
S
4 3
EXPONENT
0
FRACTION
:A
FRACTION
FRACTION
FRACTION
63
48
ZK−1041−GE
A G_floating-point value is specified by its address A, the address of the byte
containing bit 0. The form of this value is sign magnitude as follows:
•
Bit 15 is the sign bit.
•
Bits 14 through 4 are an excess 1024 binary exponent.
•
Bits 3 through 0 and 63 through 16 represent a normalized 53-bit fraction
without the redundant most significant fraction bit. Within the fraction,
bits of increasing significance go from 48 through 63, 32 through 47, 16
through 31, and 0 through 3.
For More Information:
•
On G_floating-point range and precision (Section 2.2)
A.3.2.5 T_floating-Point Numbers
A T_floating-point value is represented by 8 contiguous bytes. The bits are
numbered from the right 0 through 63, as shown in Figure A–6.
A–22 Data Storage and Representation