This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你(们)好
我目前正在我的项目中使用 IQMathLib。 我遇到了_IQ29div 问题。
除数 为0.0027313、除数为0.0101318、但输出为0.1347891。
我 测试了另一组数字、0.0148468作为被除数 、0.05696763作为 除数、输出为0.1302892。
输出错误、两个输出都是正确答案的一半。
IQ29div 是否存在任何已知问题?
您好!
您使用的是哪款 MSP 器件? 分子和分母的 IQ 格式是什么? 它们都是 IQ29吗?
如果值是预期值的一半(1/2)、那么结果似乎会以某种方式向右移动1位(例如10000b (16d) rsh 1 = 1000b (8d))。 我不确定这是否是库的问题、或者是否存在饱和现象。
IQ28div 或 IQ30div 会发生这种情况吗?
此致、
James