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 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 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.
Provides an example highlighting the way the data types are converted and arithmetic operations are performed on inputs and parameters in the Simulink® software
Describes the rules that the Simulink software follows when arithmetic operations are performed on inputs and parameters.
Recommends scaling in your fixed-point design based on the limitations of fixed-point arithmetic
Discusses the way the data types of parameters and signals are converted in Simulink simulations