Skip to content

Commit

Permalink
missing bits
Browse files Browse the repository at this point in the history
  • Loading branch information
arlolra committed Jul 5, 2013
1 parent aebb093 commit ac9d74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/bigint.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@
b[i]=0;
a=Math.floor((n-1)/bpe)+1; //# array elements to hold the BigInt
for (i=0;i<a;i++) {
b[i]=Math.floor(Math.random()*(1<<(bpe-1)));
b[i]=Math.floor(Math.random()*(1<<bpe));
}
b[a-1] &= (2<<((n-1)%bpe))-1;
if (s==1)
Expand Down

0 comments on commit ac9d74b

Please sign in to comment.