Skip to content

Add Least Common Multiple #327

Description

@jasonbobier

This is an enhancement request to add least common multiple to the package. A major issue with least common multiple is that it is not uncommon for it to overflow when used with fixed width integers. This PR offers two functions, one that traps and one that throws should the result not be representable in its result type.

The code changes are in this PR: jasonbobier#1

It currently is waiting on the resolution of #320 and then the base will be switched to apple/numerics.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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