5.1.2.1 Q15 (1.15) Format

In Q15 format, the Most Significant bit is defined as a sign bit and the radix point is implied to lie just after the sign bit followed by the fractional value. This format is commonly referred to as 1.15 or Q15 format, where 1 is the number of bits used to represent the integer portion of the number, and 15 is the number of bits used to represent the fractional portion. The range of an N-bit two’s complement fraction with this implied radix point is -1.0 to (1 - 21-N). For a 16-bit fraction, the 1.15 data range is -1.0 (0x8000) to +0.999969482 (0x7FFF) with a precision of 3.05176x10-5.

Figure 3: Fractional Format (16 bits)

The following table shows the conversion of a two’s complement 16-bit integer +24576 to Q15 value +0.75.

Table 5-1. Table1: Conversion of a Two’s Complement 16-Bit Integer to Q15
BinaryDecQ15
00 x (-215)00 x (-20)0
11 x 214163841 x 2-10.5
11 x 21381921 x 2-20.25
00 x 21200 x 2-30
00 x 21100 x 2-40
00 x 21000 x 2-50
00 x 2900 x 2-60
00 x 2800 x 2-70
00 x 2700 x 2-80
00 x 2600 x 2-90
00 x 2500 x 2-100
00 x 2400 x 2-110
00 x 2300 x 2-120
00 x 2200 x 2-130
00 x 2100 x 2-140
00 x 2000 x 2-150
SUM+24576SUM+0.75
= Radix Point