We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
algebra/ff/src/fields/mod.rs
Lines 332 to 340 in dcf73a5
In line 336, it says: ...when `exp` has at most `n` bits.
...when `exp` has at most `n` bits.
If I understand, it should say: ...when `exp` has at most `n+1` bits.
...when `exp` has at most `n+1` bits.
For example: when exp is 2, the powers_of_2 should be &[p, p^2]. Here n is 1, and exp (2, i.e. binary 10) has n+1 = 2 bits.
exp
2
powers_of_2
&[p, p^2]
n
1
10
The text was updated successfully, but these errors were encountered:
No branches or pull requests
algebra/ff/src/fields/mod.rs
Lines 332 to 340 in dcf73a5
In line 336, it says:
...when `exp` has at most `n` bits.
If I understand, it should say:
...when `exp` has at most `n+1` bits.
For example:
when
exp
is2
, thepowers_of_2
should be&[p, p^2]
. Heren
is1
, andexp
(2
, i.e. binary10
) has n+1 = 2 bits.The text was updated successfully, but these errors were encountered: