在VDSP里面,怎么引用绝对值函数abs?
你调用stdlib.h 头文件,然后写个代码 x=abs(a); 看能否正确取值,如果报错abs找不到,就自己定义个:
#define abs(x) (((x) >= 0) ? (x) : -(x))