ziglings.org/patches/patches/064_builtins.patch
DerTee daf0a99f94 064_builtins: clarify @addWithOverflow explanation
There were misunderstandings concerning
overflowing operations and overflowed variables.
Hopefully it's clearer now.
2022-05-16 02:37:18 +02:00

7 lines
187 B
Diff

72c72
- const expected_result: u8 = ???;
+ const expected_result: u8 = 0b00010010;
88c88
- const tupni: u8 = @bitReverse(input);
+ const tupni: u8 = @bitReverse(u8, input);