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

Increase precision of arithmetic operations to 2^32-1 digits #15

Closed
JordanRL opened this issue Mar 5, 2017 · 1 comment
Closed

Increase precision of arithmetic operations to 2^32-1 digits #15

JordanRL opened this issue Mar 5, 2017 · 1 comment

Comments

@JordanRL
Copy link
Owner

JordanRL commented Mar 5, 2017

Arithmetic operations are really only limited by the BCMath library in precision, so with the proper redesign a few method signatures, this could easily be increased to the 2^32-1 digits that BCMath supports.

The main reason I shied away from doing this for the initial release is that the trig functions can really only be accurate to the number of decimal places that the constants are available at. However, it is probably more of an edge case to need trig functions to > 100 digits than it is to need arithmetic operations to > 100 digits.

@JordanRL
Copy link
Owner Author

JordanRL commented Mar 6, 2017

This issue was solved by commit 0517b26

@JordanRL JordanRL closed this as completed Mar 6, 2017
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