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

Clarify the difference between rounding digits and significant digits #44

Open
Tracked by #3
martijn-heil opened this issue Apr 2, 2019 · 3 comments
Open
Tracked by #3

Comments

@martijn-heil
Copy link

I wonder, what exactly is the difference and how should these be used properly?

@pnorman
Copy link
Owner

pnorman commented May 1, 2019

I can't recall off-hand, it's been too many years since I've touched the code.

@martijn-heil
Copy link
Author

Bugger, lol. Before I posted this I read the code, but why there's rounding digits and significant digits still didn't really make sense to me. If I remember correctly, from reading it, it seems like it's to snap new nodes to already-produced nodes in a way if they fall within a certain margin of error or something like that. I might be wrong, though. It's been some time since I last read it too.

@pnorman
Copy link
Owner

pnorman commented Sep 24, 2019

My guess is that one is for snapping nodes together, the other is for how many digits to output, which has a major influence on file size.

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

2 participants