------- Comment #5 from pinskia at gcc dot gnu dot org  2005-12-20 00:49 -------
Try the following program:
#include <stdio.h>
int main(void)
{
  float currConvf = 60342935.0;
  printf("%f\n", currConvf);
}

And you will see that you get 60342936.0.

The number of bits needed to represent 60342935 is one too many to fit into
float.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25498

Reply via email to