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 BigDecimal and Integer where appropriate to prevent floating point accuracy loss #43

Merged
merged 8 commits into from
Jul 3, 2017

Conversation

joshwlewis
Copy link
Owner

@joshwlewis joshwlewis commented Jul 2, 2017

This partially addresses the concerns in #35 about losing accuracy with Floats. Most notably, this gives much greater accuracy for Pi.

@joshwlewis joshwlewis changed the title Use BigDecimal where appropriate to prevent floating point accuracy loss Use BigDecimal and Integer where appropriate to prevent floating point accuracy loss Jul 2, 2017
@joshwlewis joshwlewis merged commit b048507 into master Jul 3, 2017
@joshwlewis joshwlewis deleted the data-precision branch July 3, 2017 00:18
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

Successfully merging this pull request may close these issues.

None yet

1 participant