File: index.rst

package info (click to toggle)
python-gmpy2 2.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,996 kB
  • sloc: ansic: 24,604; python: 4,911; makefile: 123
file content (49 lines) | stat: -rw-r--r-- 1,080 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Welcome to gmpy2's documentation!
=================================

gmpy2 is a C-coded Python extension module that supports multiple-precision
arithmetic.  It is the successor to the original gmpy module (supported only
the GMP library). gmpy2 adds support for the MPFR (correctly rounded real
floating-point arithmetic) and MPC (correctly rounded complex floating-point
arithmetic) libraries.

The following libraries are supported:

* GMP for integer and rational arithmetic (https://gmplib.org)
* MPFR (https://www.mpfr.org)
* MPC (https://www.multiprecision.org/mpc/)
* Generalized Lucas sequences and primality tests are based on the following
  code:

      * mpz_lucas: https://sourceforge.net/projects/mpzlucas/
      * mpz_prp: https://sourceforge.net/projects/mpzprp/

Contents
--------

.. toctree::
   :maxdepth: 2

   overview
   install
   tutorial
   mpz
   advmpz
   mpq
   contexts
   exceptions
   mpfr
   mpc
   generic
   misc
   cython
   conversion
   history

Indices and tables
==================

* :ref:`genindex`
* :ref:`search`

.. * :ref:`modindex`