Re: our compiler can't convert longlong to float? 5.1-RC1

From: Jan Stocker <Jan.Stocker_at_t-online.de>
Date: 05 Jun 2003 19:41:11 +0000
Another thing with this code.....

> > #include <stdio.h>
> > typedef long long longlong;
> > main()
> > {
> >   longlong ll=1;
> >   float f;
> >   FILE *file=fopen("conftestval", "w");
> >   f = (float) ll;
> >   fprintf(file,"%g\n",f);
> >   close(file);

I think this has to be "fclose"....

> >   exit (0);
> > }

-- 
Jan Stocker <Jan.Stocker_at_t-online.de>
Received on Thu Jun 05 2003 - 10:41:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:10 UTC