
"""simple docstring"""


import math

from numpy import inf
from scipy.integrate import quad






def    _snake_case					(		snake_case__ :  float  ):
	if num <= 0:
		raise ValueError('math domain error'  )

	return quad(snake_case__						,   0						,   snake_case__						,   args=(snake_case__)  )[0]






def    _snake_case					(		snake_case__ :  float						,   snake_case__ :  float  ):
	return math.pow(snake_case__						,   z - 1  ) * math.exp(-x  )


if __name__ == "__main__":
		from doctest import testmod

		testmod()


def 			_A	(      SCREAMING_SNAKE_CASE      ):
	UpperCAmelCase__:	Tuple									= int(SCREAMING_SNAKE_CASE      )
	if decimal in (0, 1):  # Exit cases for the recursion
		return str(SCREAMING_SNAKE_CASE      )
	UpperCAmelCase__							,						UpperCAmelCase__:	Union[str, Any]									= divmod(SCREAMING_SNAKE_CASE	,2      )
	return binary_recursive(SCREAMING_SNAKE_CASE      ) + str(SCREAMING_SNAKE_CASE      )



def 			_A	(      SCREAMING_SNAKE_CASE      ):
	UpperCAmelCase__:	List[str]									= str(SCREAMING_SNAKE_CASE      ).strip()
	if not number:
		raise ValueError("No input value was provided"      )
	UpperCAmelCase__:	Tuple									= "-" if number.startswith("-"      ) else ""
	UpperCAmelCase__:	Any									= number.lstrip("-"      )
	if not number.isnumeric():
		raise ValueError("Input value is not an integer"      )
	return f"{negative}0b{binary_recursive(int(SCREAMING_SNAKE_CASE      )      )}"


if __name__ == "__main__":
					from doctest import testmod

					testmod()