Data Sheet
ams Datasheet Page 27
[v1-04] 2018-Jul-09 Document Feedback
AS7265x − Detailed Description
4-Byte Floating-Point (FP) Registers
Several 4 byte registers (hex) are used by the AS72651. Here is
an example of how these registers are used to represent floating
point data (based on the IEEE 754 standard).
Figure 25:
Example of the IEEE 754 Standard
The floating point (FP) value assumed by 32 bit binary32 data
with a biased exponent e (the 8 bit unsigned integer) and a 23
bit fraction is (for the above example):
0 0 1 1 1 1 1 0
31
0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3E (hex)
20 (hex) 00 (hex) 00 (hex)
byte 3 byte 2
byte 1
byte 0
0 0 1 1 1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
exponent (8 bits)
fraction (23 bits)
24 23 16 15 8 7 0
31 2330 22 0
sign
= 0.15625
(EQ1)
FPvalue 1–()
sign
1b
23 i–
i1–
23
2
i–
⋅+
2
e 127–()
⋅⋅=
FPvalue 1–()
0
1b
23 i–
i1–
23
2
i–
⋅+
2
124 127–()
⋅⋅=
FPvalue 1 1 2
2–
+()2
3–
0.15625=⋅⋅=