Main Content

Overflow and Precision Loss Detection

Debug sources of overflow and precision loss, compare to floating-point behavior

Identify, trace, and debug sources of overflow, precision loss, and wasted range or precision. Compare embedded implementation against ideal floating-point behavior.

Functions

fixed.unifiedErrorCalculator.absoluteErrorAbsolute error of two numeric inputs (Since R2023b)
fixed.unifiedErrorCalculator.bitsOfErrorBits of error of two numeric inputs (Since R2023b)
fixed.unifiedErrorCalculator.relativeAbsoluteErrorRelative absolute error of two numeric inputs (Since R2023b)

Topics

MATLAB

Simulink