Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite tests_vprec_backends with python-gmp instead of python-bigfloat #180

Closed
pablooliveira opened this issue Sep 14, 2020 · 5 comments · Fixed by #339
Closed

Rewrite tests_vprec_backends with python-gmp instead of python-bigfloat #180

pablooliveira opened this issue Sep 14, 2020 · 5 comments · Fixed by #339

Comments

@pablooliveira
Copy link
Member

To remove a pip dependency.

@yohanchatelain
Copy link
Contributor

I just discovered that the decimal package is part of the python standard library. That could be a good option to replace bigfloat without adding an extra dependency.

@pablooliveira
Copy link
Member Author

Yes, in particular, bigfloat requires manual installation with the latest linux distributions which is a hassle. I agree that replacing it with decimal would be nice !

@titeup
Copy link
Member

titeup commented Feb 6, 2023

@yohanchatelain any updates? Do you plan to do it?

@yohanchatelain
Copy link
Contributor

Hi @titeup, I did not work on it and actually it only offers arbitrary precision for Decimal representation so we'll have issue rounding numbers to binary precision. But we could reimplement what we need in pure C MPFR to get rid of bigfloat.

@yohanchatelain yohanchatelain linked a pull request May 10, 2024 that will close this issue
@yohanchatelain
Copy link
Contributor

Done with #339.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants