范围
范围限制、下溢和上溢、饱和与绕回
范围是定点数据类型和定标可以表示的数字范围。范围是有限制的,因为定点字的大小有限制。
主题
- 范围和精度
定点数据类型的范围和精度。
- Saturation and Wrapping
Saturation and wrapping describe a particular way that some processors deal with overflow conditions.
- Determine the Range of Fixed-Point Numbers
Fixed-point variables have a limited range because digital systems represent numbers with a finite number of bits.
- 保护位
通过向二进制字追加适当数量的保护位来消除可能的溢出。
- Underflow and Overflow Logging Using fipref
Examples of using
fipref
objects to set logging preferences forfi
objects. - 处理 Simulink 模型中的溢出
控制当模型包含溢出时收到的警告消息。