diff options
author | DerTee <grrrrrrrahhh@yahoo.com> | 2022-04-21 07:09:21 +0200 |
---|---|---|
committer | DerTee <grrrrrrrahhh@yahoo.com> | 2022-05-16 02:37:18 +0200 |
commit | 7e797fce520f1f190f971592acce082cc7ee102a (patch) | |
tree | 890e651910d05d29845ce1207700de487b2da986 /patches | |
parent | 1a89e4ebf13756541916cf5ed47866a3dd7e74df (diff) | |
download | ziglings-7e797fce520f1f190f971592acce082cc7ee102a.tar.gz ziglings-7e797fce520f1f190f971592acce082cc7ee102a.tar.bz2 ziglings-7e797fce520f1f190f971592acce082cc7ee102a.tar.xz ziglings-7e797fce520f1f190f971592acce082cc7ee102a.zip |
064_builtins: clarify @addWithOverflow explanation
There were misunderstandings concerning
overflowing operations and overflowed variables.
Hopefully it's clearer now.
Diffstat (limited to 'patches')
-rw-r--r-- | patches/patches/064_builtins.patch | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/patches/patches/064_builtins.patch b/patches/patches/064_builtins.patch index 644128b..8b5ea0a 100644 --- a/patches/patches/064_builtins.patch +++ b/patches/patches/064_builtins.patch @@ -1,4 +1,6 @@ 72c72 -< const tupni: u8 = @bitReverse(input); ---- -> const tupni: u8 = @bitReverse(u8, input); +- const expected_result: u8 = ???; ++ const expected_result: u8 = 0b00010010; +88c88 +- const tupni: u8 = @bitReverse(input); ++ const tupni: u8 = @bitReverse(u8, input); |