float f; unsigned long l; f=10000 * 9999.99; // result f=9.99999e+007 l=f; // result l=99999904 !!
Any reply? This is a Bug or not? (Version 7.05)
"Any reply?" If you have support (ie, if you paid for the product), you should contact Keil support direct. To me, it looks like just a rounding error - which is inherent in any floating-point implementation! Do your results fall within the error limits specified in the Manual?
Please see the description under: http://www.keil.com/support/docs/2414.htm