Clarity for 062 and tupni for 064
This commit is contained in:
parent
d9ed5336cc
commit
4d8b40648e
4 changed files with 7 additions and 5 deletions
|
|
@ -70,5 +70,5 @@ pub fn main() void {
|
|||
// this builtin to reverse the bits of a u8 integer.
|
||||
const input: u8 = 0b11110000;
|
||||
const tupni: u8 = @bitReverse(input);
|
||||
print("{b:0>8} backwards is {b:0>8}.\n", .{input});
|
||||
print("{b:0>8} backwards is {b:0>8}.\n", .{input, tupni});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue