On 7/25/2014 12:36, Dongsheng Song wrote:
> This just fix the ftw issue. But still have "%lld", mkdir, "GCC poison
> strerror" issue on gcov.
> You can following the build instructions at:
>
> http://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-doc/howto-build/mingw-w64-howto-bui
On 7/25/2014 12:36, Dongsheng Song wrote:
> This just fix the ftw issue. But still have "%lld", mkdir, "GCC poison
> strerror" issue on gcov.
> You can following the build instructions at:
>
> http://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-doc/howto-build/mingw-w64-howto-bui
#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");
__int128.cpp:4:16: warning: integer constant is too large for its type
__int128 i=170141183460469231731687303715884105727LL;
^
__int128.cpp:5:25: warning: integer constant is too large for its type
unsigned __int128 u=340282366920938463463374607431768211455ULL;
2014-07-25 13:16 GMT+02:00 Jim Michaels :
> __int128.cpp:4:16: warning: integer constant is too large for its type
> __int128 i=170141183460469231731687303715884105727LL;
> ^
> __int128.cpp:5:25: warning: integer constant is too large for its type
> unsigned __int128 u=34
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
klo uo writes:
[snip]
> Now that you mention MSYS2, quick Google shows it related to Cygwin, but it
> seems you use it with MinGW?
> It looks interesting, can you confirm if you use MSYS2 exclusively with
> MinGW?
MSYS2 is a Cygwin fork, but it comes with a package system that contains
lots of
2014-07-25 13:27 GMT+02:00 Ruben Van Boxem :
> 2014-07-25 13:16 GMT+02:00 Jim Michaels :
>>
>> __int128.cpp:4:16: warning: integer constant is too large for its type
>> __int128 i=170141183460469231731687303715884105727LL;
>> ^
>> __int128.cpp:5:25: warning: integer constant is
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
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
Please review, i'll commit it, just need an OK.
diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index 175ecdd..5d4e469 100644
--- a/mingw-w64-crt/Makefile.am
+++ b/mingw-w64-crt/Makefile.am
@@ -220,18 +220,18 @@ src_libmingwex=\
gdtoa/strtopx.c gdtoa/sum.c gdtoa/ulp.c
On 7/26/2014 06:20, André Hentschel wrote:
> +double log2(double x)
> +{
> +return softmath_log(x) / softmath_log(2);
> +}
Any reason not to expand softmath_log(2) into a constant? Otherwise, it
looks OK.
signature.asc
Description: OpenPGP digital signature
12 matches
Mail list logo