From 7e797fce520f1f190f971592acce082cc7ee102a Mon Sep 17 00:00:00 2001 From: DerTee Date: Thu, 21 Apr 2022 07:09:21 +0200 Subject: 064_builtins: clarify @addWithOverflow explanation There were misunderstandings concerning overflowing operations and overflowed variables. Hopefully it's clearer now. --- patches/patches/064_builtins.patch | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'patches') 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); -- cgit v1.2.3-ZIG