[Mingw-w64-public] iostream cout does not handle long doubles properly

2011-11-14 Thread Simon de Graaf
and ./x86_64-w64-mingw32/include/c++/4.7.0/ostream diff: 224c224,227 < { return _M_insert(__f); } --- > { //return _M_insert(__f); > //SdeG, cast "long double" into "double" >

[Mingw-w64-public] usleep does not work under Windows

2011-05-16 Thread Simon de Graaf
uot;); usleep (300); fprintf (stderr, "ready\n"); return 0; } Regards, Simon de Graaf -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. L

Re: [Mingw-w64-public] printf %f format does not work to print doubles/floats

2011-04-27 Thread Simon de Graaf
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.125

Re: [Mingw-w64-public] printf %f format does not work to print doubles/floats

2011-04-27 Thread Simon de Graaf
)e); printf ("fe=%f\n", e); printf ("ee=%e\n", e); printf ("gd=%g (d)\n", (double)d); return 0; } Compile command: % bin/x86_64-w64-mingw32-gcc -Wall zbla2.c -o zbla2.exe -static On 27/04/11 16:32, Ozkan Sezer wrote: > On Wed, A

[Mingw-w64-public] printf %f format does not work to print doubles/floats

2011-04-27 Thread Simon de Graaf
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

[Mingw-w64-public] Problem using gcc (now with correct bin path)

2010-04-07 Thread Simon de Graaf
is problem. Simon de Graaf -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel

[Mingw-w64-public] Problem using gcc

2010-04-07 Thread Simon de Graaf
is problem. Simon de Graaf -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Paral

[Mingw-w64-public] cross compiler uses 32 bits long type and cannot be changed into 64 bits

2010-02-25 Thread Simon de Graaf
Hello, I am working under opensuse and cross compiling for 64 bits Windows. I cannot compile the gmp library because mp_limb_t is 32 bits, because of the 32 bit long type. I have tried to use the -m64 option but it does not work. Why can a long integer not be set to 64 bits? I have used the bina