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

Investigate elementary functions #547

Open
eggrobin opened this issue May 25, 2015 · 0 comments
Open

Investigate elementary functions #547

eggrobin opened this issue May 25, 2015 · 0 comments

Comments

@eggrobin
Copy link
Member

This is a very low-priority task, but it's fun.
Write approximants for elementary functions at the precisions required where they are used (the precision shall be documented).
An example of a case where a fairly imprecise approximation could be useful is found here. In addition to an _n_th root (for known n) being simpler than the general pow, last-bit precision is preposterous since safety_factor is a fudge factor (common values in the literature are 0.9, 0.75, and 0.5).
A potentially more useful operation is the inverse square root appearing in the gravitational force computation. It is however harder to estimate the precision requirement there, and the potential for improvement is likely smaller than in the case of pow.

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