• Problem with floating point operation
    Please, help me to solve the problem: <source code> bit Result; float Density; Density = 0.55; if(( Density < 0.54999995) { Result = 0; } else { Result = 1; } While after running...
  • Floating point calculation problem..
    Hello I'm using u-vision5 and my target H/W is TLE9834 I can't understand why my code can't be build void filter(U16 RPM) { float omega; omega = (float)RPM; } Yeh. it was OK. but....
  • Floating Point
    How I can deny a number floating point, without using some mathematical operation (eg. :number * (-1)). ?? How can I take the first 8 bits of the number???
  • floating point
    Hi every body I don't know why I don't have the float part of the temp var. float temp; int H_Value; int L_Value; int value = 55; temp = value / 10; H_Value = (int)temp; L_Value = (int)(temp...
  • Floating Point
    How can I deny a number floating point without utilizat some mathematical operation? How can I take the first 8 bits of the number floating point, those but significant (MSB) or the bit but significant...