Fractional data is commonly represented as a 16-bit, two's complement, fixed-point value in 1.15 notation, which means 15 binary digits after the decimal point. Data in the 1.15 notation can range from –1.0 to 0.99996. The following table lists how some typical fractional numbers in 1.15 notation are represented in memory.
| Hexadecimal | Value |
|---|---|
| 0x0001 | 0.0000305176 |
| 0x0002 | 0.0000610352 |
| 0x2000 | 0.25 |
| 0x4000 | 0.5 |
| 0x7FFF | 0.99996 |
| 0x0000 | 0.0 |
| 0x8000 | –1.0 |
| 0xC000 | –0.5 |
| 0xE000 | –0.25 |
| 0xFFFF | –0.0000305176 |