Message205344
I've been looking at adding 128-bit support to the struct module. Currently only named integer types are supported, which vary in implementation. These include:
short
int
long
long long
Depending on the platform, none may translate to 128-bit integer (the case with all platforms today?).
One approach would be to make a new type that relates specifically to 128-bit integer, side-stepping the naming approaches to integer in C.
The other, would be to make new types for all integer sizes that relate to specific sizes, instead of relying on C namings. Much bigger implications?
I propose creating new types:
"o": __int128_t
"O": __uint128_t
"t": __int256_t (why not?)
"T": __uint256_t
"v": __int512_t (what, too far?)
"V": __int512_t
What implications are there here in killing the connection between a C named type and a specific size? |
|
Date |
User |
Action |
Args |
2013-12-06 02:04:23 | fil | set | recipients:
+ fil |
2013-12-06 02:04:23 | fil | set | messageid: <1386295463.1.0.439245102985.issue19904@psf.upfronthosting.co.za> |
2013-12-06 02:04:22 | fil | link | issue19904 messages |
2013-12-06 02:04:22 | fil | create | |
|