Conversion des types de données
La conversion des types de données fait référence au changement d'un type de données en un autre. Fixed-Point Designer™ vous permet de créer et d'optimiser des types de données qui répondent aux exigences de précision numérique et aux contraintes du hardware cible.
Rubriques
- Parameter and Signal Conversions
Conversions of data types of parameters and signals in Simulink® simulations.
- 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.
- 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.
- Cast from Doubles to Fixed Point
Example based on the
fxpdemo_dbl2fix
model, which highlights many of the key features of the Fixed-Point Designer software. - Display Port Data Types
Three parts of the port display for fixed-point signals: the data type, the number of bits, and the scaling.
- fi Objects and C Integer Data Types
Comparison of ANSI C integer data type ranges, conversions, and exception handling with those of
fi
objects. - Cast fi Objects
Information on casting
fi
objects.