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

Convert Frequency to a Rational type #111

Open
brentleyjones opened this issue Dec 13, 2015 · 0 comments
Open

Convert Frequency to a Rational type #111

brentleyjones opened this issue Dec 13, 2015 · 0 comments

Comments

@brentleyjones
Copy link
Member

Currently Frequency is implemented as a Double. While the end result is fine as a double, we have issues with comparing the frequencies (like when we are eliminating zeroes) or losing precision with operations. By using a Rational type we would keep accuracy until the very end, where we can then decide (or not) to convert it to a double.

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