Main Content

溢出和精度损失检测

调试溢出和精度损失的来源,并与浮点行为进行比较

识别、跟踪和调试溢出、精度损失以及范围或精度浪费的来源。将嵌入式实现与理想浮点行为进行比较。

函数

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

主题

MATLAB

Simulink