Commit 680cf5ba authored by Stefan Behnel's avatar Stefan Behnel

Extend buildenv test to allow estimating the actual PyLong digit size of the CPython runtime.

parent 4c0e8ccc
...@@ -96,6 +96,7 @@ PyLong_MASK {PyLong_MASK:X} ...@@ -96,6 +96,7 @@ PyLong_MASK {PyLong_MASK:X}
PyLong_SHIFT {PyLong_SHIFT} PyLong_SHIFT {PyLong_SHIFT}
sizeof(digit) {sizeof(digit)} sizeof(digit) {sizeof(digit)}
sizeof(sdigit) {sizeof(sdigit)} sizeof(sdigit) {sizeof(sdigit)}
sys.getsize(1, 2**14, 2**15, 2**29, 2**30, 2**63, 2**64) {tuple(sys.getsizeof(n) for n in (1, 2**14, 2**15, 2**29, 2**30, 2**63, 2**64))}
SIZEOF_INT {SIZEOF_INT} ({sizeof(int)}) SIZEOF_INT {SIZEOF_INT} ({sizeof(int)})
SIZEOF_LONG {SIZEOF_LONG} ({sizeof(long)}) SIZEOF_LONG {SIZEOF_LONG} ({sizeof(long)})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment