Skip to content

leading_ones and trailing_ones missing for PrimInt #223

Closed
@StephanvanSchaik

Description

@StephanvanSchaik

It seems like the leading_ones() and trailing_ones() functions are missing for the PrimInt trait. However, I am not entirely sure why as the leading_zeros() and trailing_zeros() seem to be available.

While I could invert the bit representation and use the trailing_zeros() function for now, it would be convenient if I could just use the trailing_ones() function instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions