Skip to content

Leverage Integer.pow/2 #7

Description

@emptytuple-ex

lib/bitmap/utils.ex states the following:

Binary exponentiation to support large integers which :math.pow can't since it returns floats

The whole Utils module could be removed by leveraging Integer.pow/2 in the stdlib.

I can issue a PR for this when I have time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions