Skip to content

Commit

Permalink
Update basic-operators.md
Browse files Browse the repository at this point in the history
Removing unnecesary brackets
  • Loading branch information
miguelis authored Aug 21, 2024
1 parent 9f3da35 commit 31a87ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkdocs/docs/circom-language/basic-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ All bitwise operators are performed modulo p.
For all ```k``` with ```0=< k <= p/2``` (integer division) we have that

* ```x >> k = x/(2**k)```
* ```x << k = (x*(2{**}k)~ & ~mask) % p ```
* ```x << k = (x*(2**k)~ & ~mask) % p ```

where b is the number of significant bits of p and mask is ```2{**}b - 1```.
where b is the number of significant bits of p and mask is ```2**b - 1```.

For all ```k``` with ```p/2 +1<= k < p``` we have that

Expand Down

0 comments on commit 31a87ff

Please sign in to comment.