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

BigInteger type (500 Gold) #4

Open
mikera opened this issue Jan 7, 2021 · 0 comments
Open

BigInteger type (500 Gold) #4

mikera opened this issue Jan 7, 2021 · 0 comments
Labels
bounty enhancement New feature or request

Comments

@mikera
Copy link
Member

mikera commented Jan 7, 2021

Convex should support a native BigInteger numeric type

  • Should support key arithmetic operations (+ - * / mod quot abs signum etc.)
  • Should be implemented as an ACell for CVM usage
  • Should have a canonical encoding that is unique for each BigInteger value
  • Should have juice costs that reflect computational complexity of operations
  • Should be relatively efficient, e.g. using longs for implementation rather than individual bytes
@mikera mikera changed the title BigInteger type BigInteger type (500 Gold) Jan 7, 2021
@mikera mikera added bounty enhancement New feature or request labels Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant