mpz_powm_ui () for 5.1.2

Niels Möller nisse at lysator.liu.se
Wed Mar 8 06:35:47 UTC 2017


Marco Bodrato <bodrato at mail.dm.unipi.it> writes:

> Does "mingw32" means unsigned long is a 32-bit type?
> You should use an mpz variable to store values exceeding 2^32...

mingw means the microsoft windows abi. And on microsoft windows, "long"
is always 32 bits, even on x86_64 (not sure about windows on arm64,
though, I haven't bothered to ever try compiling anything for windows
phones).

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-bugs mailing list