Skip to content

Implement _BitInt #36

@ZERICO2005

Description

@ZERICO2005

We should implement C23 _BitInt. We would only need to support up to _BitInt(64).
From the C23 standard:

The value BITINT_MAXWIDTH shall expand to a value that is greater than or equal to the value of ULLONG_WIDTH

Three possible ways of implementing things:

  • sizeof(_BitInt(40)) is 5
  • sizeof(_BitInt(40)) is 6 (__int48)
  • sizeof(_BitInt(40)) is 8 (long long)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions