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

Fix unitConverter to handle weights smaller 1e-21 #210

Open
mlp909 opened this issue Jan 22, 2023 · 0 comments
Open

Fix unitConverter to handle weights smaller 1e-21 #210

mlp909 opened this issue Jan 22, 2023 · 0 comments
Labels
bug Something isn't working frontend

Comments

@mlp909
Copy link
Contributor

mlp909 commented Jan 22, 2023

In Unit Converter, function calculateCommaShift has a bug with small values.
If value < 1e-21 it will be multiplied with another small value. Because of this, the return value is infinity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

1 participant