float)e);
printf ("fe=%f\n", e);
printf ("ee=%e\n", e);
printf ("gd=%g (d)\n", (double)d);
cout<<"d="<
>From: Little
>To: mingw-w64-public@lists.sourceforge.net
>Sent: Tuesday, April 26, 2011 3:56
It's a new problem after 4.7-20110416.
-Original Message-
From: Simon de Graaf [mailto:s.degr...@tudelft.nl]
Sent: Wednesday, April 27, 2011 11:31 AM
To: mingw-w64-public@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] printf %f format does not work to print
doubles/floats
On Wed, Apr 27, 2011 at 6:30 PM, Simon de Graaf wrote:
> Yes, i have the same output (tested on XP Prof. 64 bit).
> I also verified my old 64 bit cross-compiler tree
> and it has the same problem
> ( archive: mingw-w64-bin_i686-linux_20100224.tar.bz2 ).
Well, I was ready to accept problems from
Yes, i have the same output (tested on XP Prof. 64 bit).
I also verified my old 64 bit cross-compiler tree
and it has the same problem
( archive: mingw-w64-bin_i686-linux_20100224.tar.bz2 ).
Thanks for your help and quick response.
On 27/04/11 17:17, Ozkan Sezer wrote:
> On Wed, Apr 27, 2011 at 5
On Wed, Apr 27, 2011 at 5:42 PM, Simon de Graaf wrote:
> Automatic build:
>
> mingw-w64-bin_i686-linux_20110423.tar.bz2
>
> Program code:
>
> #include
>
> int main ()
> {
> long double d = 16.125e-08;
> double e = 8.125e-08;
>
> printf ("ge=%g (f)\n", (float)e);
> printf ("ge=
Automatic build:
mingw-w64-bin_i686-linux_20110423.tar.bz2
Program code:
#include
int main ()
{
long double d = 16.125e-08;
double e = 8.125e-08;
printf ("ge=%g (f)\n", (float)e);
printf ("ge=%g\n", e);
printf ("fe=%f (f)\n", (float)e);
printf ("fe=%f\n", e)
On Wed, Apr 27, 2011 at 5:27 PM, Simon de Graaf wrote:
> Hi,
Hi: we might need a little bit more detail,
>
> I downloaded the latest cross-compiler and found out
Precisely which one?
> that the printf %f format does not work to print doubles/floats.
> It gives back a zero value.
>
Can you pl
Hi,
I downloaded the latest cross-compiler and found out
that the printf %f format does not work to print doubles/floats.
It gives back a zero value.
Regards
Simon de Graaf
--
WhatsUp Gold - Download Free Network Managem