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 a more accurate number library #116

Closed
zepumph opened this issue Jun 30, 2022 · 2 comments
Closed

Use a more accurate number library #116

zepumph opened this issue Jun 30, 2022 · 2 comments

Comments

@zepumph
Copy link
Member

zepumph commented Jun 30, 2022

From #113 and many other times since moving to javascript, there are rounding problems with javascript's floating point implementation.

We have reached the point that it would be nice to investigate another library, and we feel like it is potentially possible to do so in specific cases, instead of needing to use this everywhere all at once.

Marking as an epic.

@zepumph
Copy link
Member Author

zepumph commented Jun 30, 2022

Some ideas about this over in #113 is to replace the ScientificNotationNode's usage of toExponential, and potentially to rewrite DOT/Utils.toFixed.

@kathy-phet
Copy link

Found a different solution. Closing, and will re-open if needed.

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

2 participants