diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-04-10 20:26:17 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-04-10 20:26:17 -0400 |
commit | 838cb43f2567769ed726ebd0c2a941394ff7ebe8 (patch) | |
tree | 4801ec9096105c258c435412790456611d28c088 /patches | |
parent | 0f28e58eea540af31909e67c312e8fc67e8b0bc0 (diff) |
added ex064 builtins
Diffstat (limited to 'patches')
-rw-r--r-- | patches/patches/064_builtins.patch | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/patches/patches/064_builtins.patch b/patches/patches/064_builtins.patch new file mode 100644 index 0000000..cdba367 --- /dev/null +++ b/patches/patches/064_builtins.patch @@ -0,0 +1,6 @@ +72,73c72,73 +< const tupni: u8 = @bitReverse(input); +< print("{b:0>8} backwards is {b:0>8}.\n", .{input}); +--- +> const tupni: u8 = @bitReverse(u8, input); +> print("{b:0>8} backwards is {b:0>8}.\n", .{input, tupni}); |