the line: float reale = 1; is the proper way to define a float type variable reale and give it an initial value of 1. Yes, since a float number is large you must store it like a double and thus you have double precision. It is covered well in my book. On Mon, 8 Jun 1998, MCENANEY WILLIAM J wrote: > Hi Friends, > > I have two questions. First, if I write, "float reale = 1.0f", is the "f" > in "1.0f" redundant? Second, I have heard that the compiler converts > would convert reale to double precision, because it does that for every > variable of the type float. Thanks. > > Best wishes, > Bill > Best wishes - Karl F. Larsen, 3310 East Street, Las Cruces,NM (505) 524-3303 -
- -ffloat-store bug in all version of gcc - needed help ... Andrea Arcangeli
- Re: -ffloat-store bug in all version of gcc - nee... Glynn Clements
- Re: -ffloat-store bug in all version of gcc -... Andrea Arcangeli
- Re: -ffloat-store bug in all version of g... Glynn Clements
- Re: -ffloat-store bug in all version of gcc -... MCENANEY WILLIAM J
- Re: -ffloat-store bug in all version of g... Glynn Clements
- Re: -ffloat-store bug in all version ... Andrea Arcangeli
- Re: -ffloat-store bug in all version of g... Karl F. Larsen
- Re: -ffloat-store bug in all version of gcc - nee... Bryan Scaringe
- Re: -ffloat-store bug in all version of gcc -... Andrea Arcangeli
- Re: -ffloat-store bug in all version of g... Karl F. Larsen
- Re: -ffloat-store bug in all version of gcc -... Karl F. Larsen
- Re: -ffloat-store bug in all version of gcc - nee... Nabil EL ANDALOUSSI