-
Notifications
You must be signed in to change notification settings - Fork 13.5k
stdc_count_zeros(-1) gives -32 #111344
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
Comments
Ubuntu clang version 18.1.3 (1ubuntu1) |
@fragrans Can you provide godbolt links? |
Yes, but, it can't compile, because the its lack the stdbit.h for c23. |
Where are you seeing the definition of We start with a _Generic, which is:
I see that we eventually just call: as the implementation of this. So I suspect there is some sort of conversion here happening along the way (what does |
Closing the issue as invalid due to the lack of a response or reproducer; if the issue persists, please reopen with more details. |
Ubuntu clang version 18.1.3 (1ubuntu1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
The text was updated successfully, but these errors were encountered: