Floating point bug !

float f;
unsigned long l;

f=10000 * 9999.99; // result f=9.99999e+007
l=f; // result l=99999904 !!

More questions in this forum