90 Commits

Author SHA1 Message Date
Sergey B Kirpichev aed6aecdcd Fix year in conf.py 2026-02-22 08:40:58 +03:00
Sergey B Kirpichev e95bf2a22a Fix some found formatting issues with docs 2026-02-22 07:42:46 +03:00
Sergey B Kirpichev b6b535bc72 Drop OpenSUSE note (looks outdated) 2026-02-22 05:18:47 +03:00
Sergey B Kirpichev f3edc81705 Document python-gmp usage 2026-02-01 04:18:39 +03:00
Sergey B Kirpichev ffda440b4d Update copyright
test / linter (push) Failing after 0s
test / coverage (push) Failing after 0s
test / tests (false, false, 3.10) (push) Has been skipped
test / tests (false, false, 3.11) (push) Has been skipped
test / tests (false, false, 3.12) (push) Has been skipped
test / tests (false, false, 3.13) (push) Has been skipped
test / tests (false, false, 3.13t) (push) Has been skipped
test / tests (false, false, 3.14) (push) Has been skipped
test / docs (push) Failing after 0s
test / tests (false, false, 3.14t) (push) Has been skipped
test / tests (false, false, 3.9) (push) Has been skipped
test / tests (true, pypy3.11) (push) Has been skipped
test / tests (true, 3.14) (push) Has been skipped
Publish on PyPI / Build distributions (push) Has been cancelled
Publish on PyPI / Publish distributions to PyPI (push) Has been cancelled
2026-01-01 09:57:52 +03:00
Sergey B Kirpichev a03719f2fe Drop outdated reference to Sage's Cython-based context 2025-09-03 07:51:28 +03:00
Sergey B Kirpichev 8042d8eb95 Document support for free-threading builds
Closes #975
2025-09-01 05:24:36 +03:00
Sergey B Kirpichev f5b3e07ce4 Drop pypy3.10 from testing matrix (not supported by upstream) 2025-08-06 07:31:42 +03:00
Sergey B Kirpichev 1ad7c87381 Fix "citation not referenced" warnings
Closes #979
2025-08-06 07:15:09 +03:00
Sergey B Kirpichev 657ef46356 Cleanup docs/general.rst (use signatures from autofunction)
Closes #986
2025-08-06 04:30:39 +03:00
Hongren Zheng 9ac078ca7c Add Fox H-function with rational A and B parameters (#982)
Closes #980
2025-07-27 19:03:23 +03:00
Doug Torrance a28bcd5eec Fix citation warning due to typo
WARNING: citation not found: Homeier [ref.ref]
2025-07-19 22:21:17 -04:00
Sergey B Kirpichev 2cad89428e Move references to docs/references.rst
Closes #224
2025-06-18 18:03:46 +03:00
Sergey B Kirpichev 4582b13795 Support rounding property for the mp context 2025-06-01 13:28:51 +03:00
Sergey B Kirpichev 065746d7de Cleanup optimization.rst 2025-05-30 06:05:03 +03:00
Sergey B Kirpichev 8778568951 Avoid using ";" in doctests, esp with side effects
The new CPython repl hide all output, except for the last statement.
See https://github.com/python/cpython/issues/131217.
2025-05-01 10:41:48 +03:00
Sergey B Kirpichev 4edff338a2 Add exp2() and log2()
Closes #947
2025-04-26 19:10:40 +03:00
Sergey B Kirpichev 6c51c9d898 Fix new-style formatting without type specifier (repr_dps vs dps)
Closes #943
2025-04-23 07:04:24 +03:00
Sergey B Kirpichev 33bf8a48f4 Merge pull request #933 from skirpichev/repr_dps
Add pretty_dps context property to control number of printed digits
2025-04-05 06:53:18 +03:00
Sergey B Kirpichev 5294dd9ddd Support spherical Bessel functions (jn/yn)
Naming scheme follows to SciPy.  Closes #319
2025-04-02 07:12:47 +03:00
Sergey B Kirpichev a14901da43 Add pretty_dps context property to control number of printed digits
Closes #921
2025-03-30 09:13:43 +03:00
Sergey B Kirpichev 65247c70df Merge pull request #911 from skirpichev/drop-3.8
Drop support for CPython 3.8
2025-01-30 05:24:54 +03:00
Sergey B Kirpichev 5a52ee2867 Update copyright years 2025-01-30 05:19:47 +03:00
Sergey B Kirpichev 5c719770ae Drop support for CPython 3.8
Closes #910
2025-01-29 10:35:48 +03:00
Sergey B Kirpichev 380f2f30d5 Cleanup docs for functions (using better signatures) 2025-01-22 09:17:21 +03:00
Sergey B Kirpichev 6ba8c276e6 Raise an exception if iv's comparison can't be decided
Closes #258
2025-01-20 08:57:31 +03:00
Sergey B Kirpichev 06d00fc53b Drop "4-tuple" note in docs, per #720 2025-01-06 05:04:46 +03:00
Sergey B Kirpichev 83b32f84fc Drop testing on PyPy 3.9
It seems, there will be no bugfix releases anymore,
see https://github.com/pypy/pypy/issues/5028#issuecomment-2337104585
2024-09-09 10:00:58 +03:00
Sergey B Kirpichev 4669219ed1 Add mpc.__format__()
Closes #846
2024-09-09 05:39:14 +03:00
Sergey B Kirpichev 41846b992a Claim support for CPython 3.13 and 3.14 2024-08-29 18:10:23 +03:00
Javier Garcia 9b99f418c7 Add documentation for mpf.__format__ (#850)
Adds a bit of documentation in the Utility Functions section.

Closes #337

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2024-08-28 04:48:15 +03:00
Sergey B Kirpichev 042133d72b Clarify gmpy2 support
Closes #840
2024-08-18 12:36:36 +03:00
Sergey B Kirpichev 428f50054a Correct minimal gmpy2 version 2024-08-02 06:17:44 +03:00
Sergey B Kirpichev afc3bdba1b Update version in pip install example 2024-08-02 06:16:57 +03:00
Sergey B Kirpichev 5a155f8e09 Drop sign from nstr(mpf('inf')) output
Closes #827
2024-08-01 12:27:58 +03:00
Sergey B Kirpichev 5def5939c9 Consistently use "floating-point" 2024-07-20 12:51:08 +03:00
Sergey B Kirpichev 2cf46c6ca5 Fix typos in docs, closes #817 2024-07-05 09:16:26 +03:00
Sergey B Kirpichev 3d600486fb Update gmpy2 deps to >=2.2.0rc1 2024-06-13 10:19:40 +03:00
Sergey B Kirpichev 8a837a01a5 Document differences of mp vs fp contexts
Closes #786
2024-04-27 05:58:38 +03:00
Sergey B Kirpichev 5f724296dd Run mpmath as a module for interactive work
Example:
```
$ python -m mpmath --prec 100 --no-ipython
>>> 10.9
mpf('10.899999999999999999999999999995')
>>> mpf(1090/100)
mpf('10.899999999999999999999999999995')
>>> mpf('10.9')
mpf('10.899999999999999999999999999995')
>>> mpf(109)/mpf(10)
mpf('10.899999999999999999999999999995')
>>> mpf(10.9)
mpf('10.899999999999999999999999999995')
```

Closes #677
Closes #765
2024-04-14 10:20:44 +03:00
Sergey B Kirpichev 2e6a1a6ff1 Test against PyPy nightly builds
This also drops testing against PyPy 3.8 (it's unmaintained).

Closes #762
2024-03-31 16:33:48 +03:00
Sergey B Kirpichev 4ca05b0132 Generate images in docs/plotting.rst with matplotlib's plot_directive
Closes #202
2024-03-25 17:37:20 +03:00
Sergey B Kirpichev 6de3572840 Disable CPython limits for int<->str conversion in str_to_man_exp()
Better alternative to afc990b.  Remove warning in docs.
2024-03-25 10:53:58 +03:00
Sergey B Kirpichev 25d326c95a Use asserts in normalize(), drop MPMATH_STRICT
For production code this could be removed by -O optimization.
2024-02-24 06:28:44 +03:00
Sergey B Kirpichev 0f3cfb79ac Update copyright years 2024-01-19 10:49:12 +03:00
Sergey B Kirpichev 48df2a77bf Cleanup docs/conf.py 2024-01-19 10:49:11 +03:00
Sergey B Kirpichev 76e8750282 Remove elliptic module from index, add Index to the toctree 2024-01-19 10:49:11 +03:00
Sergey B Kirpichev 0806b14b21 Expose lower/upper_gamma functions
Closes #738
2023-12-01 07:12:36 +03:00
Sergey B Kirpichev 05dc18acea Merge pull request #732 from skirpichev/no-sage
Remove sage backend
2023-11-18 06:32:27 +03:00
Sergey B Kirpichev 7abcec1571 Drop some redundant signatures in autofunction directives 2023-10-27 05:03:37 +03:00