






__UpperCAmelCase								=						{
    0: '0',
    1: '1',
    2: '2',
    3: '3',
    4: '4',
    5: '5',
    6: '6',
    7: '7',
    8: '8',
    9: '9',
    10: 'a',
    11: 'b',
    12: 'c',
    13: 'd',
    14: 'e',
    15: 'f',
}




def      lowercase__      (     __snake_case    :							float  ):


					'''simple docstring'''


					assert type(__snake_case  ) in (int, float) and decimal == int(__snake_case  )
					UpperCAmelCase_    :      Tuple            =						int(__snake_case  )
					UpperCAmelCase_    :      int            =						''
					UpperCAmelCase_    :      Dict            =						False
					if decimal < 0:
										UpperCAmelCase_    :      Any            =						True
										decimal *= -1
					while decimal > 0:
										UpperCAmelCase_       ,  UpperCAmelCase_    :      Dict            =						divmod(__snake_case     ,       16  )
										UpperCAmelCase_    :      Optional[int]            =						values[remainder] + hexadecimal
					UpperCAmelCase_    :      str            =						'0x' + hexadecimal
					if negative:
										UpperCAmelCase_    :      Optional[int]            =						'-' + hexadecimal
					return hexadecimal


if __name__ == "__main__":
		import doctest

		doctest.testmod()














import warnings

from ...utils import logging
from .image_processing_imagegpt import ImageGPTImageProcessor


__UpperCAmelCase								=						logging.get_logger(__name__)



class   lowerCamelCase      (_snake_case			):







		'''simple docstring'''



		def __init__(							self				,		*_UpperCamelCase				,		**_UpperCamelCase   )	->							None:
							warnings.warn(
							    'The class ImageGPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
							    ' Please use ImageGPTImageProcessor instead.'				,		_UpperCamelCase				,		)
							super().__init__(*_UpperCamelCase				,		**_UpperCamelCase   )






