Skip to content

Commit cbe0b14

Browse files
committed
Add comb(), lcm() and perm() to README.rst
1 parent 8c0e217 commit cbe0b14

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Python extension module, gmp, providing safe bindings to the GNU GMP (version
66

77
The gmp can be used as a `gmpy2`_/`python-flint`_ replacement to provide
88
integer type (`mpz`_), compatible with Python's `int`_. It includes few
9-
functions (`factorial`_, `gcd`_ and `isqrt`_), compatible with the Python
10-
stdlib's module `math`_.
9+
functions (`comb`_, `factorial`_, `gcd`_, `isqrt`_, `lcm`_ and `perm`_),
10+
compatible with the Python stdlib's module `math`_.
1111

1212
This module requires Python 3.9 or later versions and has been tested with
1313
CPython 3.9 through 3.14, with PyPy 3.11 and with GraalPy 24.2. Free-threading
@@ -89,4 +89,7 @@ The gmp module handles such errors correctly:
8989
.. _factorial: https://python-gmp.readthedocs.io/en/latest/#gmp.factorial
9090
.. _gcd: https://python-gmp.readthedocs.io/en/latest/#gmp.gcd
9191
.. _isqrt: https://python-gmp.readthedocs.io/en/latest/#gmp.isqrt
92+
.. _lcm: https://python-gmp.readthedocs.io/en/latest/#gmp.lcm
93+
.. _comb: https://python-gmp.readthedocs.io/en/latest/#gmp.comb
94+
.. _perm: https://python-gmp.readthedocs.io/en/latest/#gmp.perm
9295
.. _math: https://docs.python.org/3/library/math.html#number-theoretic-functions

0 commit comments

Comments
 (0)