mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-22 08:21:12 -04:00
Update README.md
This commit is contained in:
parent
f2b423db58
commit
5844ecc8bf
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
* multiply by `2^k`: `num << k`
|
||||
|
||||
* dvide by `2^k`: `num >> k`
|
||||
* divide by `2^k`: `num >> k`
|
||||
|
||||
* check if a number is a power of 2: `(num & num - 1) == 0` or `(num & (-num)) == num`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue