DLPU082C August 2021 – March 2024 DLPC7540
Consider these guidelines applicable to all the command descriptions that follow in this document.
Fixed-Point Representation:
This representation has fixed number of bits for integer part and for fractional part. Negative numbers are represented in two's complement format.
Fixed Point representation - [Integer][Fraction]
Example: Assuming the format is signed and using 32-bit format, with16 bits for the integer part and 16 bits for the fractional part. This will be referred to as s15.16 format.
In this case, -43.625 and 43.625 are represented as follows:
[1111111111010101][1010000000000000] = 0xFFD5A000 = -43.625
[0000000000101011][1010000000000000] = 0x002BA000 = +43.625