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

256-bit Integer arithmetic (1000 Gold) #1

Open
kroezone opened this issue Sep 30, 2020 · 1 comment
Open

256-bit Integer arithmetic (1000 Gold) #1

kroezone opened this issue Sep 30, 2020 · 1 comment

Comments

@kroezone
Copy link
Collaborator

64-bit longs are great for most normal usage. But some more advanced scenarios will require larger integer values (e.g. working with Crypto primitives, high precision fixed point integer maths etc.)

The goal for this Bounty is to provide a new 256-bit integer type for the CVM, that is well integrated with CVM numerical capabilities.

Requirements:

  • Must support 256-bit signed integer maths consistent with the current 64-bit longs
  • Must implement a new first class CVM data type (should extend ACell)
  • Must have extensive testing (generative + important examples / edges cases)
  • Must by supported by the key CVM functions (addition, multiplication, comparators, abs, inc, etc.)
@mikera
Copy link
Member

mikera commented Jan 30, 2023

I am working on this in the new biginteger support for the CVM

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