Skip to content

proposal: math/big: Int.TrailingZeroBits #29578

Closed
@TuomLarsen

Description

@TuomLarsen

Please consider exposing the nat.trailingZeroBits method, for example as Int.TrailingZeroBits, in addition to Int.BitLen. Similar to math.bits, knowing the length in bits is as useful as counting number of trailing zeros.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions