in adll.h of the plugin sdk , the var to float conversion _FLOAT(var) macros is

inline float _FLOAT(var x) { return ((float)x)/(1<<10); }

so if i wanted to test and see the values in lite-c from var to float

is this correct:

var xx=(128*128)*10;
float tt= ((float)xx)/(1<<10);
printf("%5.f to %.5f",(double)xx,(double)tt);

because i get xx=163840 and tt=160.0000

I hope that's how I test and display it correct
?


Compulsive compiler