Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Greatest common divisor for Nat #73

Open
runarorama opened this issue Jan 28, 2021 · 0 comments
Open

Greatest common divisor for Nat #73

runarorama opened this issue Jan 28, 2021 · 0 comments

Comments

@runarorama
Copy link
Contributor

Adds gcd which is greatest common divisor for Nat.

The changes summarized below are available for you to review, using
the following command:

pull-request.load https://github.com/unisonweb/base:.trunk.Nat https://github.com/runarorama/mybase:.gcd

Added definitions:

 gcd                       : Nat -> Nat -> Nat (+3 metadata)
 gcd.doc                   : Doc (+2 metadata)
 gcd.tests.commonDivisor   : [Test.Result] (+3 metadata)
 gcd.tests.multipleOfAnyCD : [Test.Result] (+3 metadata)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant