in reply to Re^9: Module for 128-bit integer math?
in thread Module for 128-bit integer math?
Support for unsigned __int128 types was probably not yet implemented
A post to the mingw64 mailing list suggested that I create the __uint128 type myself (in the compiler's _mingw.h) with:
Then, in Int128.xs, it was just a matter of changing:
Rob
A post to the mingw64 mailing list suggested that I create the __uint128 type myself (in the compiler's _mingw.h) with:
and that works fine.typedef unsigned int __uint128 __attribute__ ((__mode__ (TI)));
Then, in Int128.xs, it was just a matter of changing:
BrowserUk (or anyone else, of course), if you want a ppm package of that module that will work with the 64-bit builds of ActivePerl (both perl-5.10 and perl-5.12):typedef unsigned __int128 uint128_t; to typedef __uint128 uint128_t;
Cheers,ppm install http://www.sisyphusion.tk/ppm/Math-Int128.ppd
Rob
In Section
Seekers of Perl Wisdom