Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
I use CLA to calculate a state vector of the asynchronous machine. All the variables are 32 integers so I can use fixed-point calculations.
I get the #30012 remark on this: Z = (Z/100000+(Z%100000)/50000);
I've pasted this line to imitate regular round function. The operation '/' gives a result that isn't satisfactory for my requirements. Can anyone explain what the remark means or offer an easier way to emulate rounding function?