You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sadly, when I try to run it on Pypy3 with gmpy_cffi, I get:
Traceback (most recent call last):
File "./pybenoit", line 227, in <module>
main()
File "./pybenoit", line 185, in main
mp.set_context(mp.context())
AttributeError: module 'gmpy_cffi' has no attribute 'set_context'
Is there a way to set a context with a caller-specified precision, using gmpy_cffi? I tried eliminating the set_context, but then mp.get_context().precision = 100 fails with:
Traceback (most recent call last):
File "./pybenoit", line 227, in <module>
main()
File "./pybenoit", line 186, in main
mp.get_context().precision = 100
AttributeError: module 'gmpy_cffi' has no attribute 'get_context'
I'm using CPython 3.9,2, Pypy3 7.3.9, and:
$ dpkg -l | egrep -i 'libgmp-dev|libmpfr-dev|libmpc-dev'
below cmd output started 2023 Sun Sep 24 10:08:36 AM PDT
ii libgmp-dev:amd64 2:6.2.1+dfsg-1+deb11u1
ii libmpc-dev:amd64 1.2.0-1
ii libmpfr-dev:amd64 4.1.0-3
Thanks! I'm kind of excited about the potential of gmpy_cffi.
The text was updated successfully, but these errors were encountered:
I have some code working on CPython with gmpy2, using mpfr: https://stromberg.dnsalias.org/svn/pybenoit/trunk
Sadly, when I try to run it on Pypy3 with gmpy_cffi, I get:
Is there a way to set a context with a caller-specified precision, using gmpy_cffi? I tried eliminating the set_context, but then mp.get_context().precision = 100 fails with:
I'm using CPython 3.9,2, Pypy3 7.3.9, and:
Thanks! I'm kind of excited about the potential of gmpy_cffi.
The text was updated successfully, but these errors were encountered: