On Mon Sep 11 22:06:19 2023 +0000, Zebediah Figura wrote:
I don't think I care enough on this question. It seems easy, but halves are indeed rarely used. We'll need to fix lit() though; I'll send a patch for that one. If we really care about not specifying the printf argument multiple times, we can use something like [1] and [2]. I do worry though, since this means we're not using ANSI stdio anymore, and maybe that'll break something subtle. [1] https://gitlab.winehq.org/zfigura/vkd3d/-/commit/1277bbe82152cdffad393a905fd... [2] https://gitlab.winehq.org/zfigura/vkd3d/-/commit/93ca3d251b6bfa4beb59213a29a...
Making sure I get this right. The proper solution would be to generate float vs half functions? For positional arguments we'll have a single "%1$s" format with a single typename argument?