Sergey B Kirpichev
52e0daaaeb
Drop private alias round_fast
2026-05-26 07:57:20 +03:00
Sergey B Kirpichev
8870f1d258
Add aliases for mpf/mpc_log() as mpf/mpc_ln()
...
Closes #988
2025-08-06 06:02:12 +03:00
Sergey B Kirpichev
4b26ebf276
Rename argument rounding -> rnd in private *_besseljn() functions
2025-06-08 12:59:45 +03:00
Sergey B Kirpichev
2550656706
Make sure we pass MPZ mantissa to from_man_exp()
2025-01-29 04:00:25 +03:00
Sergey B Kirpichev
d8798f4b7b
Clear unused imports in mpmath/libmp/*.py
2024-04-05 11:50:00 +03:00
Sergey B Kirpichev
89d106ab23
Remove sage backend
...
Closes #705
Closes #574
2023-10-19 05:32:39 +03:00
Sergey B Kirpichev
c4c12908b7
Use n.bit_length() internally
2023-09-23 11:13:33 +03:00
Sergey B Kirpichev
721e2571eb
Drop private mpq class, use Rational's provided by backend
2023-05-19 07:03:11 +03:00
Sergey B Kirpichev
47420963b5
Drop unused import
2023-05-11 07:05:47 +03:00
Fangchen Li
dfc289289d
Drop py2 support ( #629 )
...
* remove xrange compat shim
* remove str compat shim
* remove exec compat shim
* remove object from class defination
* remove misc workarounds for python versions <3.5
* remove __future__ imports
* update readme
* Update setup.cfg
Closes #594
Co-authored-by: Fredrik Johansson <fredrik.johansson@gmail.com >
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com >
Co-authored-by: Colin B. Macdonald <cbm@m.fsf.org >
2023-03-30 04:50:18 +03:00
Fredrik Johansson
c8168e557e
#301 : fix imaginary part of gammainc(n,x), n negative odd int, x<0; also fixes lerchphi
2016-02-19 01:16:46 +01:00
Fredrik Johansson
3bb0f4c5cd
some more py3 compatibility fixes
2011-01-08 23:11:04 +00:00
Fredrik Johansson
5c8e4aa5b4
import xrange from libmp.backend to work in python 3
2011-01-08 22:54:03 +00:00
Fredrik Johansson
b8651c00f1
switch to using explicit relative imports (Python 2.4 compatibility henceforth abandoned)
2011-01-08 22:15:29 +00:00
Fredrik Johansson
5d72e3eefa
hooks/fixes for future Sage backend update
2010-09-22 12:56:47 +00:00
Fredrik Johansson
5cc0b3d1ce
Fix incorrect error estimate in hypsum due to a mixup of prec and wp.
...
This caused functions to sometimes incorrectly evaluate to zero (see issue 199).
As a result, some more hypergeometric functions now (correctly) raise an exception on an
exact zero. Fixed chebyt and chebyu accordingly to handle exact zeros.
2010-08-30 06:48:31 +00:00
Fredrik Johansson
27eab13de6
convert line endings in trunk to unix format; rebuild docs
2010-07-28 20:09:06 +00:00
Fredrik Johansson
b013b38481
tidy the mpq type
...
* don't inherit from tuple
* avoid __cmp__
* fix some operations
TODO: add more tests for it; for more speed, maybe auto-convert integers to ints or use gmpy.mpq
2010-04-06 22:46:17 +00:00
Fredrik Johansson
8fb6053978
get rid of some of the complaints python -3 has about the code
2010-02-06 20:16:10 +00:00
Fredrik Johansson
c5d1125530
Reorganization to support the improved Cython backend in Sage. A number of internal methods have been renamed in the process. The patch also contains some other optimizations.
2010-02-03 00:56:42 +00:00
Fredrik Johansson
de403a0b3c
improve ci,si,chi,shi for complex arguments by computing them using ei; make ci,si,chi,shi,ei,e1,li work with fp. TODO: implement ei in math2
2010-01-22 12:37:21 +00:00
Fredrik Johansson
3710518085
some internal renaming
2010-01-12 20:21:08 +00:00
Fredrik Johansson
2413d1a18b
moving modules to subdirectories: mpmath/libmp, mpmath/calculus, mpmath/functions
2010-01-12 18:19:42 +00:00