Timeline for Check whether an integer is a power of 2 without using +,- operations
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 9, 2017 at 8:29 | comment | added | 12Me21 | A<<0 is shorter and doesn't need parentheses. And you can maybe use > or < instead of == | |
| Feb 9, 2017 at 6:00 | history | answered | snail_ | CC BY-SA 3.0 |