Skip to content

Bit shifting for power of 2 division #688

Open
@eddiewastaken

Description

@eddiewastaken

From some quick and rudimentary testing, a >> operation on several boost::multiprecision types is significantly more performant than the existing division operand, when the divisor is a power of 2. I'm expecting there to be a reason this check and shortcut isn't implemented, hence an issue and not a PR :)

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