Skip to content

Commit

Permalink
update gcd/lcm/gcdx docs
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Nov 14, 2013
1 parent db6d2e0 commit 07917e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions doc/helpdb.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3885,19 +3885,19 @@ popdisplay(d::Display)

("Mathematical Functions","Base","gcd","gcd(x, y)
Greatest common divisor
Greatest common (positive) divisor
"),

("Mathematical Functions","Base","lcm","lcm(x, y)
Least common multiple
Least common (positive) multiple
"),

("Mathematical Functions","Base","gcdx","gcdx(x, y)
Greatest common divisor, also returning integer coefficients \"u\"
Greatest common (positive) divisor, also returning integer coefficients \"u\"
and \"v\" that solve \"ux+vy == gcd(x,y)\"
"),
Expand Down
6 changes: 3 additions & 3 deletions doc/stdlib/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2632,15 +2632,15 @@ Mathematical Functions

.. function:: gcd(x,y)

Greatest common divisor
Greatest common (positive) divisor.

.. function:: lcm(x,y)

Least common multiple
Least common (positive) multiple.

.. function:: gcdx(x,y)

Greatest common divisor, also returning integer coefficients ``u`` and ``v`` that solve ``ux+vy == gcd(x,y)``
Greatest common (positive) divisor, also returning integer coefficients ``u`` and ``v`` that solve ``ux+vy == gcd(x,y)``

.. function:: ispow2(n)

Expand Down

0 comments on commit 07917e7

Please sign in to comment.