Documentation

Range

Limitations on range, overflows, saturation, wrapping

Examples and How To

Determine the Range of Fixed-Point Numbers

Fixed-point variables have a limited range because digital systems represent numbers with a finite number of bits.

Handle Overflows in Simulink Models

Control the warning messages you receive when a model contains an overflow.

Concepts

Limitations on Range

Limitations on the range of a fixed-point word occur because fixed-point words have limited size.

Saturation and Wrapping

Saturation and wrapping describe a particular way that some processors deal with overflow conditions.

Shifts

Nearly all microprocessors and digital signal processors support well-defined bit-shift operations for integers.

Guard Bits

Eliminate the possibility of overflow by appending the appropriate number of guard bits to a binary word.

Was this topic helpful?