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.


Effects on fixed-point arithmetic, scaling for speed, scaling for maximum precision, binary-point only scaling

Examples and How To

The Summation Process

Addition is the most common arithmetic operation a processor performs. When two n-bit numbers are added together, it is always possible to produce a result with n + 1 nonzero digits due to a carry from the leftmost digit.

The Multiplication Process

The multiplication of an n-bit binary number with an m-bit binary number results in a product that is up to m + n bits in length for both signed and unsigned words.

The Division Process

The C programming language provides access to integer division only for fixed-point data types. Depending on the size of the numerator, you can obtain some of the fractional bits by performing a shift prior to the integer division.

Conversions and Arithmetic Operations

Provides an example highlighting the way the data types are converted and arithmetic operations are performed on inputs and parameters in the Simulink® software


Rules for Arithmetic Operations

Describes the rules that the Simulink software follows when arithmetic operations are performed on inputs and parameters.

Recommendations for Arithmetic and Scaling

Recommends scaling in your fixed-point design based on the limitations of fixed-point arithmetic

Parameter and Signal Conversions

Discusses the way the data types of parameters and signals are converted in Simulink simulations

Was this topic helpful?