ziglings/patches/patches/064_builtins.patch
2021-04-10 20:26:17 -04:00

6 lines
231 B
Diff

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