mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-26 07:01:18 +08:00
Merge branch 'merge' of https://github.com/trekhleb/javascript-algorithms into merge
This commit is contained in:
commit
86dea85d97
@ -12,7 +12,7 @@ the number can't be a power of two.
|
||||
|
||||
**Bitwise solution**
|
||||
|
||||
Powers of two in binary form always have just one bit.
|
||||
Powers of two in binary form always have just one bit set.
|
||||
The only exception is with a signed integer (e.g. an 8-bit
|
||||
signed integer with a value of -128 looks like: `10000000`)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user