aleaxit / gmpy

General Multi-Precision arithmetic for Python 2.6+/3+ (GMP, MPIR, MPFR, MPC)
https://gmpy2.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
519 stars 86 forks source link

Support for erfinv #325

Closed TedTed closed 2 years ago

TedTed commented 2 years ago

Hi, we are possibly interested in using gmpy for an application related to differential privacy; but we would need support for the erfinv function.

Thanks a ton in advance!

casevh commented 2 years ago

I don't see erfinv listed in the MPFR documentation. Do you have an implementation for it?

The source code must be licensed under LGPLv3+ to allow it to be bundled into gmpy2. There maybe other options if that is not possible.

TedTed commented 2 years ago

Sorry, yes, I was looking at different arbitrary-precision computation projects and mixed things up. Thanks for letting us know what the requirements would be if we end up sending a PR to MPFR!