Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C] Add support for C23 _BitInt type #4087

Merged
merged 1 commit into from
Nov 9, 2024
Merged

Conversation

braewoods
Copy link
Contributor

This is implemented like typeof() because it can only be used with ()s to indicate how many bits the resulting integer type will have.

While I was at it, I also added support for the new suffixes for _BitInt integer constants.

deathaxe
deathaxe previously approved these changes Nov 8, 2024
This is implemented like typeof() because it can only be used with
()s to indicate how many bits the resulting integer type will have.

While I was at it, I also added support for the new suffixes for
_BitInt integer constants and the new wN and wfN length modifiers
for printf and scanf.
@braewoods
Copy link
Contributor Author

I noticed there was a related addition in C23 for specifying the exact bits used by the integral type for printf and scanf so I have added that now.

@deathaxe deathaxe merged commit 13fe637 into sublimehq:master Nov 9, 2024
1 check passed
@braewoods braewoods deleted the c-bitint branch November 9, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants