Arithmétique à virgule fixe
L'arithmétique à virgule fixe fait référence à la manière dont les mots binaires signés ou non signés sont gérés. La simplicité des fonctions arithmétiques en virgule fixe, telles que l'addition et la soustraction, permet des implémentations hardware rentables.
Rubriques
- Arithmétique à virgule fixe
L’arithmétique de l’addition, de la soustraction, de la multiplication, des opérateurs cast et modulo, et du complément à deux.
- Rules for Arithmetic Operations
Rules that the Simulink® software follows when arithmetic operations are performed on inputs and parameters.
- Shifts
Bit-shift operations for integers.
- Conversions and Arithmetic Operations
Example highlighting how the data types are converted and arithmetic operations are performed on inputs and parameters in the Simulink software.
- The Summation Process
Addition of n-bit numbers in the Simulink software.
- The Multiplication Process
Multiplication of n-bit binary numbers with m-bit binary numbers in the Simulink software.
- The Division Process
Integer division for fixed-point data types in the Simulink software.
- fimath Properties Usage for Fixed-Point Arithmetic
Fixed-point arithmetic using
fimath
objects to control the results.