reboundx icon indicating copy to clipboard operation
reboundx copied to clipboard

implement machine independent math functions?

Open dtamayo opened this issue 3 years ago • 1 comments

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

dtamayo avatar Feb 21 '22 12:02 dtamayo

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

hannorein avatar Feb 21 '22 14:02 hannorein