double myFloat = 8000000.0; // 24-bit doubles

if(myFloat == 8000061.0)     // value will be rounded
  doSomething();             // this line will be executed