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

API suggestions #38

Open
frank-rollpin opened this issue Oct 4, 2016 · 0 comments
Open

API suggestions #38

frank-rollpin opened this issue Oct 4, 2016 · 0 comments

Comments

@frank-rollpin
Copy link

Thanks for the great library! I really like that the emphasis on performance, this is very important to our project. However, I think its API can be improved a bit, so that its usage would be more in line with existing numerical types int and double. Here is what I have in mind:

  • add fromByteArray constructor
  • annotate all public methods with types of the return values
  • provide a standard method for parsing, like int does:
    BigIntger parse(String source, radix, onError(String source) });
  • add toDouble() method
  • implement Comparable

Would you please consider making those changes?

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