.. _libcudacxx-standard-api-numerics:

Numerics Library
=======================

.. toctree::
   :hidden:
   :maxdepth: 1

   numerics_library/bit
   numerics_library/complex
   numerics_library/numeric

Any Standard C++ header not listed below is omitted.

.. list-table::
   :widths: 25 45 30
   :header-rows: 1

   * - Header
     - Content
     - Availability
   * - `\<cuda/std/bit\> <https://en.cppreference.com/w/cpp/header/bit>`_
     - Access, manipulate, and process individual bits and bit sequences.
     - libcu++ 1.8.0 / CCCL 2.0.0 / CUDA 11.7
   * - `\<cuda/std/complex\> <https://en.cppreference.com/w/cpp/header/complex>`_
     - Complex number type
     - libcu++ 1.4.0 / CCCL 2.0.0 / CUDA 11.4
   * - `\<cuda/std/ccomplex\> <https://en.cppreference.com/w/cpp/header/ccomplex>`_
     - C complex number arithmetic
     - libcu++ 1.4.0 / CCCL 2.0.0 / CUDA 11.4
   * - `\<cuda/std/ratio\> <https://en.cppreference.com/w/cpp/header/ratio>`_
     - Compile-time rational arthimetic
     - libcu++ 1.1.0 / CCCL 2.0.0 / CUDA 11.0
   * - `\<cuda/std/cfloat\> <https://en.cppreference.com/w/cpp/header/cfloat>`_
     - Limits of floating point types
     - libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2
   * - `\<cuda/std/climits\> <https://en.cppreference.com/w/cpp/header/climits>`_
     - Limits of integral types
     - libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2
   * - `\<cuda/std/cstdint\> <https://en.cppreference.com/w/cpp/header/cstdint>`_
     - Fixed-width integer types
     - libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2
   * - `\<cuda/std/numeric\> <https://en.cppreference.com/w/cpp/header/numeric>`_
     - Numeric algorithms
     - CCCL 2.5.0
