|
|
@ -6,7 +6,8 @@
|
|
|
|
// const a2: u8 = 0x41; // hexadecimal
|
|
|
|
// const a2: u8 = 0x41; // hexadecimal
|
|
|
|
// const a3: u8 = 0o101; // octal
|
|
|
|
// const a3: u8 = 0o101; // octal
|
|
|
|
// const a4: u8 = 0b1000001; // binary
|
|
|
|
// const a4: u8 = 0b1000001; // binary
|
|
|
|
// const a5: u8 = 'A'; // UTF-8 code point literal
|
|
|
|
// const a5: u8 = 'A'; // ASCII code point literal
|
|
|
|
|
|
|
|
// const a6: u16 = 'Ȁ'; // Unicode code points can take up to 21 bits
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// You can also place underscores in numbers to aid readability:
|
|
|
|
// You can also place underscores in numbers to aid readability:
|
|
|
|
//
|
|
|
|
//
|
|
|
|