Skip to content

Mask calculation in BitField.h fails for large field widths. #115

@michaelleerilee

Description

@michaelleerilee

Need to change mask to uint64_t and replace

          mask = pow(2ll,width) -1;

with

          mask = (2ull << (width-1)) -1;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions