So I am thinking of writing a bitboard in python or lisp. But I don't know how to ensure I would get a 64 bit integer in python. I have been reading documentation and found that mpz library returns a unsigned 32 bit integer. Is this true? If not what should I do?
Python 2 has two integer types: int
, which is a signed integer whose size equals your machine's word size (but is always at least 32 bits), and long
, which is unlimited in size.
Python 3 has only one integer type, which is called int
but is equivalent to a Python 2 long
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With