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

Bitwise math #106

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

logicalmechanism
Copy link
Contributor

@logicalmechanism logicalmechanism commented Feb 19, 2025

Start of the bit wise math implementation for byte arrays. This will need some work to really nail this down properly in terms of speed and correctness.

Best case: Be feature complete for arbitrary arithmetic using the ByteArray type.
Optimal case: Implement the easy ones like pow_2 and modulo arithmetic.

I will implement some padding helper functions in case we want to provide this then the math can default to modulo arithmetic but allows users to have arbitrary precision if required.

@logicalmechanism
Copy link
Contributor Author

logicalmechanism commented Feb 19, 2025

Bumping version number and fixing the attempts to destructure a record constructor without using named fields as noted in the v1.1.11 release.

@MicroProofs
Copy link
Member

I made a branch with the same name. Check out if you like the interface there #107

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

Successfully merging this pull request may close these issues.

2 participants