mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 14:03:10 -05:00
This commit is contained in:
parent
947d1e4fbb
commit
80c92e3c94
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ const std = @import("std");
|
||||||
|
|
||||||
pub fn main() void {
|
pub fn main() void {
|
||||||
// Let's store the bits of binary number 1101 in
|
// Let's store the bits of binary number 1101 in
|
||||||
// 'little-endian' order (least significant byte first):
|
// 'little-endian' order (least significant byte or bit first):
|
||||||
const bits = [_]u8{ 1, 0, 1, 1 };
|
const bits = [_]u8{ 1, 0, 1, 1 };
|
||||||
var value: u32 = 0;
|
var value: u32 = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue