from typing import TYPE_CHECKING

from ...utils import _LazyModule


SCREAMING_SNAKE_CASE__		:					str						=					{"tokenization_wav2vec2_phoneme": ["Wav2Vec2PhonemeCTCTokenizer"]}


if TYPE_CHECKING:
      from .tokenization_wavaveca_phoneme import WavaVecaPhonemeCTCTokenizer
else:
      import sys

      SCREAMING_SNAKE_CASE__		:					Tuple						=					_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)




from math import factorial, radians







def     _a				(      lowercase__  :			float     ,  lowercase__  :			int = 18     ,  lowercase__  :			int = 10 ):







     '''simple docstring'''


     SCREAMING_SNAKE_CASE__				:				Optional[Any]			=		angle_in_degrees - ((angle_in_degrees // 360.0) * 360.0)

     # Converting from degrees to radians
     SCREAMING_SNAKE_CASE__				:				int			=		radians(lowercase__ )

     SCREAMING_SNAKE_CASE__				:				List[Any]			=		angle_in_radians
     SCREAMING_SNAKE_CASE__				:				Optional[int]			=		3
     SCREAMING_SNAKE_CASE__				:				Optional[int]			=		-1

     for _ in range(lowercase__ ):
          result += (b * (angle_in_radians**a)) / factorial(lowercase__ )

          SCREAMING_SNAKE_CASE__				:				Any			=		-b  # One positive term and the next will be negative and so on...
          a += 2  # Increased by 2 for every term.

     return round(lowercase__     ,  lowercase__ )


if __name__ == "__main__":
      __import__("doctest").testmod()



