Detección de desbordamiento y pérdida de precisión
Depure fuentes de desbordamiento y pérdida de precisión, compare con el comportamiento en punto flotante.
Identifique, rastree y depure fuentes de desbordamiento, pérdida de precisión y uso ineficiente de rango o precisión. Compare la implementación embebida con el comportamiento ideal de punto flotante.
Funciones
fixed.unifiedErrorCalculator.absoluteError | Absolute error of two numeric inputs (Desde R2023b) |
fixed.unifiedErrorCalculator.bitsOfError | Bits of error of two numeric inputs (Desde R2023b) |
fixed.unifiedErrorCalculator.relativeAbsoluteError | Relative absolute error of two numeric inputs (Desde R2023b) |
Temas
MATLAB
- Data Type Override Preferences Using fipref
Data type override using thefipref
object. - Underflow and Overflow Logging Using fipref
Examples of usingfipref
objects to set logging preferences forfi
objects. - Custom Plot Functions
Visualize numerical differences during fixed-point conversion.
Simulink
- Use the Fixed-Point Tool to Explore Numerical Behavior
Example showing how to use the Fixed-Point Tool to compare floating-point and fixed-point data types. - Manejar desbordamientos en modelos de Simulink
Controle los mensajes de advertencia que recibe cuando un modelo contiene un desbordamiento. - Net Slope and Net Bias Precision
Net slope and bias precision, detecting precision loss, underflow, and overflow. - Detect Fixed-Point Constant Precision Loss
This example shows how to detect fixed-point constant precision loss. - Use Scaled Doubles to Avoid Precision Loss
How to avoid precision loss by overriding the data types in your model with scaled doubles.