aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/basic.zig
diff options
context:
space:
mode:
authorCody Tapscott <topolarity@tapscott.me>2022-02-13 11:54:37 -0700
committerCody Tapscott <topolarity@tapscott.me>2022-02-13 13:26:59 -0700
commit7b72fc6bbc5554643bc27933310899e32783b81b (patch)
treec367a314c4e46e4bcefce3d5f9ab21addc3620cc /test/behavior/basic.zig
parenteeb043f5833db03ac3250f9943ba8be0b518432f (diff)
downloadzig-7b72fc6bbc5554643bc27933310899e32783b81b.tar.gz
zig-7b72fc6bbc5554643bc27933310899e32783b81b.zip
Add `abi_size` parameter to read/writeTwosComplement
Big-int functions were updated to respect the provided abi_size, rather than inferring a potentially incorrect abi_size implicitly. In combination with the convention that any required padding bits are added on the MSB end, this means that exotic integers can potentially have a well-defined memory layout.
Diffstat (limited to 'test/behavior/basic.zig')
0 files changed, 0 insertions, 0 deletions