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

Use two part doubles to improve precision #13

Open
matzipan opened this issue Nov 11, 2023 · 0 comments
Open

Use two part doubles to improve precision #13

matzipan opened this issue Nov 11, 2023 · 0 comments

Comments

@matzipan
Copy link
Collaborator

In #4 I implemented the ephemeris epoch with an f64. Unfortunately, due to the dynamic range limitations of floats, if the magnitude of the integer part of the float is too high, this will lead to a loss of accuracy.

The way to improve on this is to use two-part floating point numbers, where one holds the integer part and the other holds the fractional part.

This issue is about improving the SPK ephemeris code to use two part doubles.

@matzipan matzipan mentioned this issue Nov 11, 2023
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant