mirror of
https://github.com/ziglang/zig.git
synced 2024-11-14 16:13:24 +00:00
14 lines
359 B
Zig
14 lines
359 B
Zig
const decimal_int = 98222;
|
|
const hex_int = 0xff;
|
|
const another_hex_int = 0xFF;
|
|
const octal_int = 0o755;
|
|
const binary_int = 0b11110000;
|
|
|
|
// underscores may be placed between two digits as a visual separator
|
|
const one_billion = 1_000_000_000;
|
|
const binary_mask = 0b1_1111_1111;
|
|
const permissions = 0o7_5_5;
|
|
const big_address = 0xFF80_0000_0000_0000;
|
|
|
|
// syntax
|