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

Support for types in the math/big package #86

Open
GCrispino opened this issue Jan 14, 2025 · 0 comments
Open

Support for types in the math/big package #86

GCrispino opened this issue Jan 14, 2025 · 0 comments

Comments

@GCrispino
Copy link

Hello!

Would there be any interest in having support for the big.* types defined in the math/big package, such as *big.Float?

With the current implementation if we're using these types we can't use the functions in the present package without transforming these values to float64 values, which may not always be possible

Another option would be to make the methods in this package take an interface, such that any user could implement support to any numerical type as long as it implements certain functions necessary for them

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

1 participant