Sergey B Kirpichev
92f61841bf
Merge pull request #1110 from skirpichev/prepare-v1.5.0a0
...
test / linter (push) Failing after 1s
test / coverage (push) Failing after 0s
test / docs (push) Failing after 0s
Publish on PyPI / Build distributions (push) Has been cancelled
Publish on PyPI / Publish distributions to PyPI (push) Has been cancelled
test / frozen-version (push) Has been cancelled
test / tests (false, false, 3.10) (push) Has been cancelled
test / tests (false, false, 3.11) (push) Has been cancelled
test / tests (false, false, 3.12) (push) Has been cancelled
test / tests (false, false, 3.13) (push) Has been cancelled
test / tests (false, false, 3.14) (push) Has been cancelled
test / tests (false, false, 3.14t) (push) Has been cancelled
test / tests (false, false, 3.15) (push) Has been cancelled
test / tests (false, false, 3.15t) (push) Has been cancelled
test / tests (true, pypy3.11) (push) Has been cancelled
test / tests (true, 3.x) (push) Has been cancelled
Prepare v1.5.0a0
1.5.0a0
2026-06-24 04:43:20 +03:00
Sergey B Kirpichev
bf99017677
Allow gmpy2 for CPython v3.15
2026-06-24 04:27:00 +03:00
Sergey B Kirpichev
5a4116a13e
Update CHANGES
2026-06-24 04:18:33 +03:00
Sergey B Kirpichev
b5e38772b1
Merge pull request #1109 from skirpichev/fix-integral-path-for-lerchphi/252
...
Change integral path of the lerchphi() to use Laplace transform integral
2026-06-24 03:43:34 +03:00
Sergey B Kirpichev
085f181126
Change integral path of the lerchphi() to use Laplace transform integral
...
Current formula ignores some constraints: https://dlmf.nist.gov/25.14#E6
Implementation follows to lerch_hankel():
https://fredrikj.net/blog/2022/02/computing-the-lerch-transcendent/#section6
Closes #252
2026-06-23 13:17:01 +03:00
Sergey B Kirpichev
60cf796714
Merge pull request #1107 from skirpichev/fix-1104
...
Improve fixed-precision computation paths for jtheta()
2026-06-23 08:11:34 +03:00
Sergey B Kirpichev
3f3d3ec9a3
Merge pull request #1108 from skirpichev/add-jacobi_symbol
...
Add jacobi_symbol() to libintmath
2026-06-23 08:01:22 +03:00
Sergey B Kirpichev
1d89343973
Add jacobi_symbol() to libintmath
2026-06-23 07:16:42 +03:00
Sergey B Kirpichev
9e890f67cd
Drop _jacobi_theta2()
2026-06-23 04:58:49 +03:00
Sergey B Kirpichev
1cfd36f49e
Drop _jacobi_theta3()
2026-06-23 04:58:49 +03:00
Sergey B Kirpichev
0fe9033f18
Use prec kwarg for cos_sin in theta helpers
2026-06-23 04:58:49 +03:00
Sergey B Kirpichev
c8a17b495d
Amend dca2abd6
2026-06-23 04:58:49 +03:00
Sergey B Kirpichev
3e6e7967ad
Reorganize fixed-precision computations for theta3
...
θ₃(z) ~ 1 + 2q¹cos(2z) + 2q⁴cos(4z) + ..., and we
are in |Im(z)| < |Re(log(q))|/2 domain.
To avoid severe cancellation we compute in fixed-point
only s ~ 2(cos(2z) + q³ cos(4z) + ...), then
return 1 + s*q.
Closes #1104
2026-06-23 04:58:48 +03:00
Sergey B Kirpichev
5e683847c7
Fix test_compatibility()
...
Avoid using of private numpy API
2026-06-23 03:42:46 +03:00
Sergey B Kirpichev
6dfd359ed6
Merge pull request #1106 from skirpichev/misc
...
Misc fixes
2026-06-21 12:39:33 +03:00
Sergey B Kirpichev
7a1aaff95a
Add debug info to random tests in mpmath/tests/test_elliptic.py
...
Also some cleanup for assert statements and comments
2026-06-21 12:16:06 +03:00
Sergey B Kirpichev
dca2abd6ca
Cleanup jtheta()
...
* normalize result
* use extraprec context manager
* add error message
2026-06-21 12:16:06 +03:00
Sergey B Kirpichev
a8a614c5f0
Drop _djtheta() helper method
2026-06-21 11:14:17 +03:00
Sergey B Kirpichev
e002cb4488
Allow python-gmp for CPython v3.15
2026-06-21 10:59:32 +03:00
Sergey B Kirpichev
b62c4173d1
Support CPython v3.15
2026-06-20 09:10:21 +03:00
Sergey B Kirpichev
12e7e74251
Fix test_sn_cn_dn_identities()
...
Closes #1105
2026-06-20 09:10:21 +03:00
Sergey B Kirpichev
11a5afe7b6
Remove --durations=20 from default pytest options
2026-06-20 07:01:58 +03:00
Ayush Baranwal
a2e0351345
Add Brent root-finding algorithm ( #1103 )
...
Closes #1095
2026-06-19 03:31:16 +03:00
Vincent Gao
29c496bf14
Fix gegenbauer() failing to converge for odd integer n at z=0
...
Used parity identity:
https://functions.wolfram.com/Polynomials/GegenbauerC3/04/02/01/
Closes #1077 .
2026-06-18 17:37:29 +03:00
Sergey B Kirpichev
e45f046a02
Merge pull request #1100 from skirpichev/lerchphi-series/1099
...
Implement direct series for lerchphi() base case with |z| < 0.5
2026-06-18 06:12:47 +03:00
Sergey B Kirpichev
d742930573
Implement direct series for lerchphi() base case with |z| < 1
...
Closes #1099
2026-06-18 05:55:12 +03:00
Sergey B Kirpichev
9b71ea0595
Merge pull request #1102 from skirpichev/misc
...
Misc fixes
2026-06-18 05:34:42 +03:00
Sergey B Kirpichev
f736ab6096
Drop _jacobi_theta2a/3a()
2026-06-17 12:18:28 +03:00
Sergey B Kirpichev
41243c5438
Tune hypothesis settings (max_examples for default/ci profiles)
2026-06-17 11:22:37 +03:00
Sergey B Kirpichev
b854af8d3e
Unify jtheta() computations for n=1,2 and n=3,4
2026-06-17 11:22:27 +03:00
Sergey B Kirpichev
90684c4405
Correct exception message for THETA_Q_LIM
...
Also unify entry points for jtheta/_djtheta
Co-Authored-By: Jam Balaya <jambalaya.pyoncafe@outlook.jp >
2026-06-17 11:21:33 +03:00
Sergey B Kirpichev
3d2aa3ea17
Merge pull request #1098 from skirpichev/ai-policy/1090
...
Add AI-related policy
2026-06-10 00:57:26 +03:00
Sergey B Kirpichev
97a091279d
Add AI-related policy
...
Closes #1090
2026-06-09 03:49:25 +03:00
Sergey B Kirpichev
6d10972d64
Revert "Set default solver for findroot() dynamically"
...
This reverts commit f25a56f132 .
2026-06-09 01:46:26 +03:00
Sergey B Kirpichev
e3dbcd0dd5
Merge pull request #1096 from skirpichev/misc
...
Misc fixes
2026-06-08 05:28:47 +03:00
Sergey B Kirpichev
f25a56f132
Set default solver for findroot() dynamically
...
Closes #1097
2026-06-07 05:31:56 +03:00
Sergey B Kirpichev
429c1d5ec2
Set dynamic maxsteps value for the bisect method
...
Closes #285
Closes #339
2026-06-07 05:31:56 +03:00
Sergey B Kirpichev
bce4dfb5b4
Correct interval update for Ridder's method
...
Closes #1094
2026-06-07 05:31:54 +03:00
Ayush Baranwal
44ad9908cc
Add ModAB rootfinding algorithm ( #1093 )
...
closes #1075
2026-06-07 04:30:24 +03:00
Ayush Baranwal
e10416f997
Raise ValueError when same sign at interval boundaries in bisection rootfinding algorithm ( #1092 )
2026-06-02 11:12:23 +03:00
Sergey B Kirpichev
fcb99d97a4
Make CONTRIBUTING.rst more visible
2026-06-02 10:18:37 +03:00
Sergey B Kirpichev
35a1e33f02
Fix typo and function names for sin/cospi()
2026-05-28 07:27:04 +03:00
Sergey B Kirpichev
16d5fb332c
Merge pull request #1091 from skirpichev/misc
...
Misc fixes
2026-05-26 08:39:00 +03:00
Sergey B Kirpichev
db21709e9a
Amend README.rst with 1.4.1 release
2026-05-26 08:18:30 +03:00
Sergey B Kirpichev
52e0daaaeb
Drop private alias round_fast
2026-05-26 07:57:20 +03:00
Sergey B Kirpichev
44859bf6cd
Change default rounding for private mpf/mpc_expj/jpi()
2026-05-26 07:57:20 +03:00
Sergey B Kirpichev
34691c49f8
Change default rounding mode for private formatting helpers
2026-05-26 07:57:20 +03:00
Sergey B Kirpichev
f7579c0a0d
Merge pull request #1089 from skirpichev/restrict-libmp-exports/704
...
Restrict libmp exports to public API
2026-05-26 04:53:45 +03:00
Sergey B Kirpichev
939efcdd88
Merge pull request #1088 from skirpichev/fix-mpf_hypot/1011
...
Add extra precision for summation in mpf_hypot()
2026-05-25 14:51:54 +03:00
Sergey B Kirpichev
aa5cd5a9bf
Add coverage tests
2026-05-25 08:31:19 +03:00