We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you are interested. I have a set of maths functions on BigDecimal that I am using as a reference for libm generation.
BigDecimal
https://github.com/extendr/doctor-syn/blob/main/src/bdmath.rs
These are only references, using MacLaurin series and do not cover all domains, but could be worked into something more useful.
I've also added a version of "round" that does not panic.
I'm a bit short of time at the moment, but anyone interested, should feel free to cut and paste.
The text was updated successfully, but these errors were encountered:
I guess Maclaurin is not fast, right?
Sorry, something went wrong.
Taylor/Maclaurin series converge slowly except for very small values.
Some of the functions do range reduction to map the inputs to small ones, but more work is required here for fast convergence.
At the moment, these are just used as references for polynomial approximations in our CAS package:
https://github.com/doctor-syn/doctor-syn
No branches or pull requests
If you are interested. I have a set of maths functions on
BigDecimal
that I am using as a reference for libmgeneration.
https://github.com/extendr/doctor-syn/blob/main/src/bdmath.rs
These are only references, using MacLaurin series and do not cover all domains, but could
be worked into something more useful.
I've also added a version of "round" that does not panic.
I'm a bit short of time at the moment, but anyone interested, should feel free to cut and paste.
The text was updated successfully, but these errors were encountered: