Skip to content

_BitInt bit size reflection #83096

@ghost

Description

The new _BitInt type is awesome! However, I have come across a super annoying issue: its tricky to infer from the type how many bits it actually has. This makes it hard to do things such as get the max or min possible value of a _BitInt. Maybe clang could lead the charge and add a solution for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions