mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-05 17:53:30 +02:00
7 lines
231 B
Diff
7 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});
|