Skip to content

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

@ckormanyos

Description

@ckormanyos

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions