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

Optimize exp() and log() in all precision ranges #156

Open
ckormanyos opened this issue May 25, 2022 · 0 comments
Open

Optimize exp() and log() in all precision ranges #156

ckormanyos opened this issue May 25, 2022 · 0 comments
Assignees

Comments

@ckormanyos
Copy link
Owner

Some optimization of exp() and log() is probably possible in all precision ranges.

  • Ensure that no excessive divisions/inversions are happening.
  • Find the right threshold for cutoff exp() Taylor series versus Newton iteration (at the moment 2,001 decimal digits).
  • Scale argument of exp(x) down for large x.
  • Try for trial implementation of exp() via AGM methods and see if this beats classic Newton iteration.
  • Make dedicated tests for low-precision logarithm.
@ckormanyos ckormanyos self-assigned this May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant