mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Update README.md
This commit is contained in:
parent
f2b423db58
commit
5844ecc8bf
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
* multiply by `2^k`: `num << k`
|
* 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`
|
* check if a number is a power of 2: `(num & num - 1) == 0` or `(num & (-num)) == num`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user