692
3576
5677
论坛元老
使用道具 举报
1万
7万
11万
管理员
6
122
140
初级会员
dy84082666 发表于 2019-9-24 09:34 C库没有现成的四舍五入函数,只能自己实现
hpdell 发表于 2019-9-24 12:23 看来也只能自己写个函数来实现了啊
36
2051
2159
至尊会员
byccc 发表于 2019-9-25 12:15
eric2013 发表于 2019-9-24 12:38 DSP库中浮点数转定点时四舍五入的处理思路,如果是正数加0.5,负数减0.5 https://forum.anfulai.cn/forum.ph ...
本版积分规则 发表回复 回帖后跳转到最后一页
|小黑屋|Archiver|手机版|硬汉嵌入式论坛
GMT+8, 2025-8-14 01:11 , Processed in 0.044663 second(s), 27 queries .
Powered by Discuz! X3.4 Licensed
Copyright © 2001-2023, Tencent Cloud.