Fixed-Point Numbers

Fixed-point numbers and their data types are characterized by their word size in bits, binary point, and whether they are signed or unsigned. The Fixed-Point Designer™ software supports integers and fixed-point numbers. The main difference among these data types is their binary point.

    Note:   Fixed-point numbers can have a word size up to 128 bits.

A common representation of a binary fixed-point number , either signed or unsigned, is shown in the following figure.


  • bi are the binary digits (bits)

  • ws is the word length in bits

  • The most significant bit (MSB) is the leftmost bit, and is represented by location bws1

  • The least significant bit (LSB) is the rightmost bit, and is represented by location b0

  • The binary point is shown four places to the left of the LSB

Was this topic helpful?