[libcxx-commits] [libcxx] [libc++] Recognize _BitInt(N) as signed/unsigned integer type (PR #185027)
Xavier Roche via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Apr 20 05:08:17 PDT 2026
================
----------------
xroche wrote:
Indeed, _BitInt(128) isn't guaranteed by C standard; I will add __BITINT_MAXWIDTH__ >= 128 guard.
As far as I could dig:
> _BITINT_MAXWIDTH — maximum width of a bit-precise integer type, a value not less than ULLONG_WIDTH_
Which "imply" _BitInt(64) is guaranteed (which is a rather weak property)
https://github.com/llvm/llvm-project/pull/185027
More information about the libcxx-commits
mailing list