joegao1 can anyone help here? I am working on an embedded system with a C-like programming language, therefore floating point operation is not allowed (because it is time consuming), and floating point variable has to be represented by integer variable, with F stands for the length of bits representing the fractional part. e.g. value 4.5 with F=5 is represent by 10010000 ...