-
Notifications
You must be signed in to change notification settings - Fork 13
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
Additional special functions #31
Comments
I think it would be nice to still work with MPFR 3.1, as Debian Stretch (current stable, for a few more months) still has MPFR 3.1.5. Perhaps CPP can be used for conditionally binding newer functionality where available? Found this page for tracking changes: |
These are the functions currently foreign imported (minus
This indeed misses a large amount of the MPFR API: https://www.mpfr.org/mpfr-current/mpfr.html#Function-and-Type-Index_fn_letter-M I generated the list by:
|
On second thoughts, not a good idea to change exposed API conditionally, may lead to unusual build failures. Exposing
Here's an updated list, from code to be pushed shortly:
There is code for |
I think a reasonable course of action is to keep |
MPFR includes several useful special functions that would be nice to add, see: https://tspiteri.gitlab.io/gmp-mpfr-sys/mpfr/MPFR-Interface.html . For example, I recently needed the incomplete gamma function
mpfr_gamma_inc
which is available in MPFR >=4.0. Which versions of MPFR is this package trying to maintain compatibility with?By the way, to assist users in adding functions with the ffi, it would be nice to either expose
Numeric.Rounded.Internal
, or expose the functionsunary
andbinary
in that module.The text was updated successfully, but these errors were encountered: