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 | d192e528256f7b9986eddc511df01540bd0f62a2 (patch) | |
tree | 4801ec9096105c258c435412790456611d28c088 /patches | |
parent | 4251076b50082023f609e2823b143993f7749b57 (diff) | |
download | ziglings-d192e528256f7b9986eddc511df01540bd0f62a2.tar.gz ziglings-d192e528256f7b9986eddc511df01540bd0f62a2.tar.bz2 ziglings-d192e528256f7b9986eddc511df01540bd0f62a2.tar.xz ziglings-d192e528256f7b9986eddc511df01540bd0f62a2.zip |
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}); |