hex.cl: make the lut square
This commit is contained in:
parent
872818fe7c
commit
a188c5b65e
@ -3,7 +3,10 @@ mod math;
|
||||
|
||||
// TODO: casting and/or conversion
|
||||
const HEX_LUT: Array = [
|
||||
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f',
|
||||
'0', '1', '2', '3', //
|
||||
'4', '5', '6', '7', //
|
||||
'8', '9', 'a', 'b', //
|
||||
'c', 'd', 'e', 'f', //
|
||||
];
|
||||
|
||||
pub fn hex(n: u64) {
|
||||
|
Loading…
Reference in New Issue
Block a user