code: def __fifth_search(interval, tolerance):
      """Accelerated helper function for finding the number of fifths
      to get within tolerance of a given interval.
  
      This implementation will give up after 32 fifths
      """
      log_tolerance = np.abs(np.log2(tolerance))
      for power in range(32):
          for sign in [1, -1]:
              if (
                  np.abs(
                      np.log2(
                          __bo_fold(interval / 3.0 ** (power * sign))
                      )
                  )
                  <= log_tolerance
              ):
                  return power * sign
          power += 1
      return power
  
imports: import re
  import numpy
  from numba import jit
  from collections import Counter
  from .intervals import INTERVALS
  from .._cache import cache
  from ..util.exceptions import ParameterError
  from typing import Dict, List, Iterable, Union, overload
  from ..util.decorators import vectorize
  from .._typing import _ScalarOrSequence, _FloatLike_co, _SequenceLike, _IterableLike
label_desc: Use image node_id 20 for calling a global function with example usage: __fifth_search(interval, tolerance) and returns: power, unknown