mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
064_builtins: clarify @addWithOverflow explanation
There were misunderstandings concerning overflowing operations and overflowed variables. Hopefully it's clearer now.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user