'''simple docstring'''




from __future__ import annotations

def _UpperCamelCase (							SCREAMING_SNAKE_CASE_				):
     assert (
         isinstance(snake_case_	,							snake_case_				) and mask > 0
     ), f'''mask needs to be positive integer, your input {mask}'''
     lowercase_       :							List[str]  					=       []
     lowercase_       :							Dict  					=       mask

     while submask:
          all_submasks.append(snake_case_				)
          lowercase_       :							List[Any]  					=       (submask - 1) & mask

     return all_submasks


if __name__ == "__main__":
 import doctest

 doctest.testmod()







def  _snake_case		(snake_case_					:     float  )							->		int:
  if num < 0:
    return -1
  return 1 if num else 0





def  _snake_case		()							->		None:
  assert signum(5  ) == 1
  assert signum(-5  ) == -1
  assert signum(0  ) == 0


if __name__ == "__main__":
      print(signum(1_2))
      print(signum(-1_2))
      print(signum(0))





