• 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 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 !!
  • 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...