Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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?