parameters: (divisor)
return_statement: return n
docstring: Check if we can do a fast shift for quick division as a smaller type.
      This only holds if the divisor is not rounded while shifting.
docstring_summary: Check if we can do a fast shift for quick division as a smaller type.
      This only holds if the divisor is not rounded while shifting.
docstring_tokens: Check if we can do a fast shift for quick division as a smaller type . This only holds if the divisor is not rounded while shifting .
function: def fast_shift(divisor):
      '''
      Check if we can do a fast shift for quick division as a smaller type.
      This only holds if the divisor is not rounded while shifting.
      '''
  
      n = 0
      while divisor % 2**(n + 1) == 0:
          n += 1
      return n
function_tokens: def fast_shift ( divisor ) : n = 0 while divisor % 2 ** ( n + 1 ) == 0 : n += 1 return n