gmpy icon indicating copy to clipboard operation
gmpy copied to clipboard

General Multi-Precision arithmetic for Python 2.6+/3+ (GMP, MPIR, MPFR, MPC)

Results 78 gmpy issues
Sort by recently updated
recently updated
newest added

I installed libmpc and libmpc-devel in my own space and wrote a .pc file, and set PKG_CONFIG_PATH accordingly. ``` (python3.12) $ pkg-config --cflags --libs libmpc -I/proj/cot_globals/centos8/usr/include -L/proj/cot_globals/centos8/usr/lib64 -lmpc (python3.12) $...

``` 1. Browse to https://gmpy2.readthedocs.org/en/latest/ 2. In the search box, search for 'isqrt' 3. No results. Should find https://gmpy2.readthedocs.org/en/latest/mpz.html ``` Original issue reported on code.google.com by `matt.hickford` on 28 Apr...

Type-Defect
auto-migrated
Priority-Low

Where did this functionality go? I'm aware of `gmpy2.from_binary` and `gmpy2.to_binary`, but i need the gmpy behavior. I want to speedup some RSA sign and verify code. ``` In [1]:...

``` [root@foo ~]# pip install gmpy2 Collecting gmpy2 Using cached gmpy2-2.0.8.zip Installing collected packages: gmpy2 Running setup.py install for gmpy2 ... error Complete output from command /usr/bin/python2 -u -c "import...

It is possible to build a Cython extension on Windows using the GMP, MPFR, and MPC DLLs included with the gmpy2 binary wheel. Here is the rough outline: 1. Download...

E.g. recent 8e378bd seems to be missing. Looking on the project page, there are [builds](https://readthedocs.org/projects/gmpy2/builds/) only month ago. Are there reasons to not automate documentation building (by merging a pr)?...

There are some subtle differences between GMP and its fork [MPIR](http://mpir.org/). The tests on travis would better be run with both libraries.

I'm unsure exactly what's causing this, but pycharm 2022.3 community edition always seems to complain about passing a parameter to gmpy2.mpz, e.g. gmpy2.mpz(123456789) or gmpy2.mpz("123456789"). And there's no way from...

Hi! I've been tracking down a very rare crash in our application, and I think I've reached a point where I can see a problem in gmpy2 - would very...

gmpy2 sees test failures with mpfr 4.2.1, independent of the architecture, see for example https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-gmpy2/37232406/log.gz mostly it's a missing "-", however there are a few tests in test_mpc.txt, which look...