064_builtins: clarify @addWithOverflow explanation

There were misunderstandings concerning
overflowing operations and overflowed variables.
Hopefully it's clearer now.
This commit is contained in:
DerTee 2022-04-21 07:09:21 +02:00
parent 1a89e4ebf1
commit 7e797fce52
3 changed files with 35 additions and 17 deletions

View file

@ -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);