• 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...
  • Floating crash
    I'm using uvision 2.39 with C51 7.07 When I try to compare to float numbers the program just crash and the microcontroler just reset (C505-CA infineon). the code is: float i; float AdjFE...
  • 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???
  • float conversion
    i have been getting a strange problem with a particular math operation... i have two long variables.. long a = 31534; long b = 102004; float c; c = a / b; now i get the value of c as 0...
  • float truncation
    hi everyone; i am using a float value for my calculation eg: weight = 999.99 (ideally) but float weight = 999.989999 (by float data type as we get 6 digits after decimal) i am not displaying this...