Skip to content

Enhanced GCD that doesn't trap #311

@jasonbobier

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.)

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