Add base 12 in strconv.odin

This commit is contained in:
Ginger Bill
2017-03-19 21:03:29 +00:00
parent c26990c22d
commit c6ff961088
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -342,6 +342,7 @@ append_bits :: proc(buf: []byte, u: u64, base: int, is_signed: bool, bit_size: i
case 2: i--; a[i] = 'b';
case 8: i--; a[i] = 'o';
case 10: i--; a[i] = 'd';
case 12: i--; a[i] = 'z';
case 16: i--; a[i] = 'x';
default: ok = false;
}