Skip to content

Euler's GCD Algorithm Example #9

@ehildenb

Description

@ehildenb

Provide an example using Euler's GCD algorithm.

From @grosu:

function gcd(a, b)
    while b ≠ 0
       t := b; 
       b := a mod b; 
       a := t; 
    return a;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions