• Floating point arithmetic - accuracy problem
    Hello, I am using 89C51ED2 for solving non-linear equations. I am facing accuracy problems while doing floating point arithmetic. The accuracy of floating point arithmetic is limited to 3 decimal...
  • Floating point bug !
    float f; unsigned long l; f=10000 * 9999.99; // result f=9.99999e+007 l=f; // result l=99999904 !!
  • Typecasting and float arithmetic
    Hi. I am using the evaluation version of the Keil compiler for the 8051 microcontrollers. I need to define pointers to data of double precision and single precision IEE 754 floating point format. I need...
  • 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 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???