Update README.md

This commit is contained in:
marina 2023-08-07 23:12:04 -07:00 committed by GitHub
parent f2b423db58
commit 5844ecc8bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`