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

implement machine independent math functions? #72

Open
dtamayo opened this issue Feb 21, 2022 · 1 comment
Open

implement machine independent math functions? #72

dtamayo opened this issue Feb 21, 2022 · 1 comment

Comments

@dtamayo
Copy link
Owner

dtamayo commented Feb 21, 2022

Several effects need math functions (trig functions, pow, log) that are not platform independent in the C99 standard. It would be nice to implement machine independent functions even if they're slower than the standard functions so that we can rely on REBOUNDx also being machine independent. Here's a starting point

https://github.com/sunsided/libfixmath

though at least some of the functions are meant for computer graphics and are low accuracy

@hannorein
Copy link
Collaborator

I agree, that would be a good thing to add. But that library hasn't been update in many years.

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

2 participants