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

Perfection is a goal in itself - use arbitrary precision numbers for time tracking #33

Open
jrkatz opened this issue Dec 13, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@jrkatz
Copy link
Owner

jrkatz commented Dec 13, 2020

After running for a long while, we should expect small timing errors to accumulate (float-truncation issues), so while no individual beat was off by much, the track as a whole is not where we'd expect it timing-wise.

Contrary to the title, we need not use arbitrary precision if we can find a clever way to minimize or balance the accumulation of floating point errors. So that's an option. Or we can fit in a library like https://github.com/MikeMcl/big.js/, or roll our own arbitrary precision numbers.

@jrkatz jrkatz added the enhancement New feature or request label Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant