Quantcast
Channel: C2000™︎ 微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 12258

请教28335如何进行高精度浮点运算

$
0
0
       (1)开发版:POP28335.
       (2)软件版本:CCS4
       (3)目的:想进行IQN高精度浮点运算,包括加减乘除和三角函数等等。
       (4)我的软件设置与结果:
  在prj中添加  IQmathlib.h、IQmath_fpu32.lib、rts2800_fpu32.lib以及IQmath.gel 三个文件;同时,将Build Properties ——C2000 Compiler ——Runtime Model Options中的 specify flaoting point support 改为fpu32;在main函数前添加 #include "IQmathlib.h",long  GlobalQ = GLOBAL_Q 。
                 此时,编译通过,但无法进行IQNsin()等函数计算。
请问如何解决呢?

Viewing all articles
Browse latest Browse all 12258

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>