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

B192 is using 256 bits in the definition. #230

Closed
Kuly14 opened this issue Apr 3, 2023 · 1 comment
Closed

B192 is using 256 bits in the definition. #230

Kuly14 opened this issue Apr 3, 2023 · 1 comment

Comments

@Kuly14
Copy link

Kuly14 commented Apr 3, 2023

Version
1.7.0

Description

https://github.com/recmo/uint/blob/main/src/aliases.rs#L53

The B192 and U192 are constructed with 256 bits and only three limbs:

alias! {
    U192 B192 (256, 3);
}

According to the readme:

[Uint] will panic! if you try to construct it with incorrect arguments. 

Not sure if this is a bug or I'm missing something.

@recmo recmo mentioned this issue Apr 20, 2023
3 tasks
recmo added a commit that referenced this issue Apr 20, 2023
prestwich added a commit that referenced this issue May 11, 2023
@prestwich
Copy link
Collaborator

closed by #234

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

2 participants