Re: [Mingw-w64-public] problem using printf with __int128 in 4.9.0

2014-07-25 Thread Ruben Van Boxem
2014-07-25 17:06 GMT+02:00 JonY : > On 7/25/2014 19:40, Ruben Van Boxem wrote: > > > > The fact that the compiler has a type does not mean the C library can > > handle it. > > > > Rebuild mingw-w64-crt with --enable-experimental=printf128 to enable > experimental integer handling in __mingw* famil

Re: [Mingw-w64-public] problem using printf with __int128 in 4.9.0

2014-07-25 Thread JonY
On 7/25/2014 19:40, Ruben Van Boxem wrote: > > The fact that the compiler has a type does not mean the C library can > handle it. > Rebuild mingw-w64-crt with --enable-experimental=printf128 to enable experimental integer handling in __mingw* family of printf. Use %I128[u,d,x]. signature.a

Re: [Mingw-w64-public] problem using printf with __int128 in 4.9.0

2014-07-25 Thread Ruben Van Boxem
2014-07-25 13:10 GMT+02:00 Jim Michaels : > #include > #include <_mingw.h> > int main(void) { > __int128 i=170141183460469231731687303715884105727LLL; > unsigned __int128 u=340282366920938463463374607431768211455ULLL; > //printf("i=%I128d\n", i); > printf("%*d", 128/8, i); > p

[Mingw-w64-public] problem using printf with __int128 in 4.9.0

2014-07-25 Thread Jim Michaels
#include #include <_mingw.h> int main(void) {     __int128 i=170141183460469231731687303715884105727LLL;     unsigned __int128 u=340282366920938463463374607431768211455ULLL;     //printf("i=%I128d\n", i);     printf("%*d", 128/8, i);     printf("  170141183460469231731687303715884105727LLL\n");