Skip to content

Enhanced GCD that doesn't trap #311

Description

@jasonbobier

By returning T.Magnitude instead of T, the gcd call never traps. This also allows the end user of the call to decide how to handle the result.

PR: #310

(Also note that this is in preparation for lcm, which will be a separate PR.)

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