-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
PolynomialMod2::operator<<= Bug #64
Comments
Confirmed there's some wonkiness going on. Crossing the boundary from 64-bits to 65-bits produces:
|
@apatryda - Here you go. Thanks for reporting.
|
@apatryda - I wanted to give you a heads up here... I was testing under Debian's X32 Port, and here's the result:
False alarm... It was the test case. |
When using PolynomialMod2 shift left operator, the most significant word
is lost when shifting by more than WORD_BITS bits.
In "gf2n.c" the line 349 states:
it should be:
The text was updated successfully, but these errors were encountered: