Support base 2-36 in bigint toString() functions #22206
Labels
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
standard library
This issue involves writing Zig code for the standard library.
Milestone
std.fmt.formatInt()
supports it:zig/lib/std/fmt.zig
Line 1178 in c172877
zig/lib/std/fmt.zig
Lines 1213 to 1219 in c172877
std.math.big.int
doesn't - it also usesdigitToChar()
so this limitation seems arbitrary.zig/lib/std/math/big/int.zig
Lines 2298 to 2300 in c172877
zig/lib/std/math/big/int.zig
Lines 2363 to 2368 in c172877
Use case: https://codeberg.org/kiesel-js/kiesel/issues/68
The text was updated successfully, but these errors were encountered: