GoalScope — is_power_of_two (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<
code
>↵
def
is
_power
_of
_two
(n
):↵
"""
Check
if
n
is
a
power
of
two
."""↵
return
n
>
0
and
(
n
&
(
n
-
1
))
==
0
↵
</
code
>