DescriptionTest for power of two safely
Use integer operations to test if an integer is a power of two. And
check that the value is in range before testing for a power.
BUG=675570
TEST=
Committed: https://crrev.com/8c22c74f1f57853ea427fa5f21f170144d4103ed
Cr-Commit-Position: refs/heads/master@{#439603}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 17 (9 generated)
|