程序中使用了 a = -b这样的语句,编译可以通过,但是运行Qualiti检测时,第一条就无法通过,提示
Test failed. Problem: External object '_negd' is non-compliant as it does not have the "<MODULE>_SUOWEI_" (i.e. "module_vendor_") prefix.
但是改成 a = 0 - b 就ok,这种使用方式感觉很奇怪;
另外使用开方函数sqrt也会有这样的错误
Test failed. Problem: External object 'sqrt' is non-compliant as it does not have the "<MODULE>_SUOWEI_" (i.e. "module_vendor_") prefix.