strings.split; strings.index; eprint* over print*_err;

This commit is contained in:
gingerBill
2019-10-06 18:13:15 +01:00
parent e1b711b3b3
commit 4e8a801b35
8 changed files with 183 additions and 17 deletions
+4
View File
@@ -205,7 +205,11 @@ itoa :: proc(buf: []byte, i: int) -> string {
atoi :: proc(s: string) -> int {
return parse_int(s);
}
atof :: proc(s: string) -> f64 {
return parse_f64(s);
}
ftoa :: append_float;
append_float :: proc(buf: []byte, f: f64, fmt: byte, prec, bit_size: int) -> string {
return string(generic_ftoa(buf, f, fmt, prec, bit_size));
}