Hiya folks, this is also an introductory post. I am new to zig-lang, haven’t tried out a new language in almost 5 years now, got pretty comfortable with rust-lang and decided to challenge myself this holiday season to try out zig and I am pleased to make my first release, a re-implementation of zmij, a pretty new dtoa(Floating Point → String) algorithm.
As a trivial sort of thing, if you took the table out of the literal block, something like this, it would be somewhat easier to read. The gains are quite respectable
To make it more Zig-native, it would be grand if there were a function which takes a std.fmt.Number for configuring the relevant parameters. Something to consider.