array of 64-bit ints?

S

Stephen Vavasis

Is it possible to have an array of 64-bit-ints using the standard Python
array module? On my 64-bit architecture (AMD64, MSVC), both "int" and
"long int" are 32 bit integers. To declare 64-bit ints, one needs either
"long long int" or "size_t". However, according to the Python array
documentation, arrays of "size_t" or "long long int" are not available.

Thanks,
Steve Vavasis, (e-mail address removed)
 
M

Martin v. Löwis

Is it possible to have an array of 64-bit-ints using the standard Python
array module? On my 64-bit architecture (AMD64, MSVC), both "int" and
"long int" are 32 bit integers. To declare 64-bit ints, one needs either
"long long int" or "size_t". However, according to the Python array
documentation, arrays of "size_t" or "long long int" are not available.

No, it's not possible.

Regards,
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,795
Messages
2,569,644
Members
45,358
Latest member
TreyTritt8

Latest Threads

Top