More representative of base_55 as it should be
This commit is contained in:
parent
1e701f73ab
commit
18354befd1
|
@ -1,6 +1,32 @@
|
||||||
pub fn h78() {
|
pub fn h78() {
|
||||||
let x = 'b';
|
let x = 'b';
|
||||||
match x.char() {
|
match x.char() {
|
||||||
|
'Z' => -26,
|
||||||
|
'Y' => -25,
|
||||||
|
'X' => -24,
|
||||||
|
'W' => -23,
|
||||||
|
'V' => -22,
|
||||||
|
'U' => -21,
|
||||||
|
'T' => -20,
|
||||||
|
'R' => -18,
|
||||||
|
'S' => -19,
|
||||||
|
'Q' => -17,
|
||||||
|
'P' => -16,
|
||||||
|
'O' => -15,
|
||||||
|
'N' => -14,
|
||||||
|
'M' => -13,
|
||||||
|
'L' => -12,
|
||||||
|
'K' => -11,
|
||||||
|
'J' => -10,
|
||||||
|
'I' => -9,
|
||||||
|
'H' => -8,
|
||||||
|
'G' => -7,
|
||||||
|
'F' => -6,
|
||||||
|
'E' => -5,
|
||||||
|
'D' => -4,
|
||||||
|
'C' => -3,
|
||||||
|
'B' => -2,
|
||||||
|
'A' => -1,
|
||||||
' ' => 0,
|
' ' => 0,
|
||||||
'a' => 1,
|
'a' => 1,
|
||||||
'b' => 2,
|
'b' => 2,
|
||||||
|
@ -28,32 +54,7 @@ pub fn h78() {
|
||||||
'x' => 24,
|
'x' => 24,
|
||||||
'y' => 25,
|
'y' => 25,
|
||||||
'z' => 26,
|
'z' => 26,
|
||||||
'A' => 1 + 26,
|
// NOTE(Able): Why does it jump to 53 here? MY REASONS ARE BEYOND YOUR UNDERSTANDING MORTAL
|
||||||
'B' => 2 + 26,
|
|
||||||
'C' => 3 + 26,
|
|
||||||
'D' => 4 + 26,
|
|
||||||
'E' => 5 + 26,
|
|
||||||
'F' => 6 + 26,
|
|
||||||
'G' => 7 + 26,
|
|
||||||
'H' => 8 + 26,
|
|
||||||
'I' => 9 + 26,
|
|
||||||
'J' => 10 + 26,
|
|
||||||
'K' => 11 + 26,
|
|
||||||
'L' => 12 + 26,
|
|
||||||
'M' => 13 + 26,
|
|
||||||
'N' => 14 + 26,
|
|
||||||
'O' => 15 + 26,
|
|
||||||
'P' => 16 + 26,
|
|
||||||
'Q' => 17 + 26,
|
|
||||||
'R' => 18 + 26,
|
|
||||||
'S' => 19 + 26,
|
|
||||||
'T' => 20 + 26,
|
|
||||||
'U' => 21 + 26,
|
|
||||||
'V' => 22 + 26,
|
|
||||||
'W' => 23 + 26,
|
|
||||||
'X' => 24 + 26,
|
|
||||||
'Y' => 25 + 26,
|
|
||||||
'Z' => 26 + 26,
|
|
||||||
'/' => 53,
|
'/' => 53,
|
||||||
'\\' => 54,
|
'\\' => 54,
|
||||||
'.' => 55,
|
'.' => 55,
|
||||||
|
|
Loading…
Reference in a new issue