Your IP : 216.73.216.213
���^� � @ s� d Z d d d d d g Z d d l Z e j d d k rW e j d d k rW d d
l Td d � Z d d � Z d
d � Z d d � Z d d d � Z d S)z$Id$�
ceil_shift�ceil_div� floor_div�
exact_log2� exact_div� N� � )�*c C s� t | t � s t | t � rH t d t | � j t | � j f � � | d k r` | d k sf t � d | >d } | | @r� | | ?d S| | ?Sd S)z�Return ceil(n / 2**b) without performing any floating-point or division operations.
This is done by right-shifting n by b bits and incrementing the result by 1
if any '1' bits were shifted out.
z&unsupported operand type(s): %r and %rr r N)�
isinstance�int� TypeError�type�__name__�AssertionError)�n�b�mask� r �J/opt/alt/python35/lib64/python3.5/site-packages/Crypto/Util/_number_new.pyr "