iterative-gcd

1.0.1 • Public • Published

iterative-gcd Build Status npm downloads

Compute the greatest common divisor using Iterative implementation.

Install

npm install iterative-gcd

Usage

var gcd = require('iterative-gcd')
 
gcd(8, 12) // 4
gcd(48, 18) // 6

License

MIT. Copyright (C) Halil İbrahim Şener.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    2
  • 1.0.0
    0

Package Sidebar

Install

npm i iterative-gcd

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • hisener