Draft C2Y _BitInt related proposals
Martin Uecker
uecker@tugraz.at
Thu Jul 9 18:25:12 GMT 2026
Am Dienstag, dem 07.07.2026 um 16:47 +0200 schrieb Jakub Jelinek:
> Hi!
>
> As I wrote earlier, I'd like to see _BitInt I/O support in
> *printf*/*scanf* and extending support of _BitInt in stdbit.h
> in C2Y.
>
> For those I wrote drafts of possible C2Y papers:
> https://jakubjelinek.github.io/wg14/va_arg_bitint.html
> https://jakubjelinek.github.io/wg14/stdbit_bitint.html
>
> I'd appreciate any comments on this.
> Haven't tried to acquire paper numbers for these yet.
>
> Jakub
Looks already good to me. I noticed some minor editorial
issues:
In the paragraph before proposal there is some closing
tag missing for <code> after _BitInt.
In "Possible variants" there is a closing parenthesis
missing in the last sentence and in the proposed wording
7.16.2.3 The va_arg_bitint macro
there is a closing parenthesis missing in the description
after _BitInt(N)
(Otherwise I still think that allowing a variably-modified
_BitInt in va_arg would be more elegant, because we
might also want _BitInt(*) for matching in _Generic)
Martin
More information about the Libc-alpha
mailing list