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

fast int root/ln functions? #81

Open
lukaz-vaultree-com opened this issue Aug 25, 2021 · 2 comments
Open

fast int root/ln functions? #81

lukaz-vaultree-com opened this issue Aug 25, 2021 · 2 comments

Comments

@lukaz-vaultree-com
Copy link

Is there a good very fast implementation for integer root (x^{1/n}) and ln for BigDecimal?

@cbeck88
Copy link

cbeck88 commented Oct 25, 2024

I wrote an ln implementation that was good enough for my needs, I'm happy to share it, or try to PR it if desired

@cbeck88
Copy link

cbeck88 commented Oct 26, 2024

I did this in a few hours, I'm sure it could be better but I'm still using it and it's working fine:

https://gist.github.com/cbeck88/3553de29d5a530fb5bdce95ef7fc0661

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

No branches or pull requests

2 participants