.. # split from OESystemFunctions.rst:385

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEBitVectorNumWords

.. oe:function:: OEBitVectorNumWords

   .. oe:language:: c++ java csharp

      .. oe:api::

         inline size_t OEBitVectorNumWords(size_t bits)

   .. oe:language:: python

      .. oe:api:: python

         OEBitVectorNumWords(bits: int) -> int

   Returns the number of words required to store the number of bits
   passed as the ``bits`` parameter.


