在 k_rem_pio2 文件函数中是否有任何数字在 ih==2 情况下不保留进位!=0?

发布于 2024-09-04 19:15:32 字数 341 浏览 2 评论 0原文

我正在使用数学计算来开发应用程序。对于我的代码,我需要知道如何覆盖我正在使用的库的代码的所有路径。尚未涵盖的内容位于 k_rem_pio2 文件中。内核函数有 ih==2 数字的分支,然后是一个

if(carry!=0) -z= scalbn(one,q0); 

我的问题是,对于哪个数字,if 条件不满足......我假设唯一的情况是带有 < 的数字对于所有 i iq[i] = 0 jz(我正在使用 prec = 2),但是哪个数字可以有 iq[i] = 0

I'm working on application using the math computation. For my code I need to know how to cover all paths of code of libraries I'm using. The one of not covered yet is in k_rem_pio2 file. The kernel function have branch for ih==2 numbers and then ther is an

if(carry!=0) -z= scalbn(one,q0); 

My question is, for what number the if condition is not met ... I assume that the only case would be number with iq[i] = 0 for all i < jz (I'm working with prec = 2), but which number can have iq[i] = 0?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文