Binary operations
=================

.. Hint:: `NumPy API Reference: Binary operations <https://numpy.org/doc/stable/reference/routines.bitwise.html>`_

.. currentmodule:: cupy

Elementwise bit operations
--------------------------

.. autosummary::
   :toctree: generated/

   bitwise_and
   bitwise_or
   bitwise_xor
   invert
   left_shift
   right_shift


Bit packing
-----------

.. autosummary::
   :toctree: generated/

   packbits
   unpackbits


Output formatting
-----------------

.. autosummary::
   :toctree: generated/

   binary_repr
