.. _libcudacxx-standard-api-c-compat:

C Library
=======================

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

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

   * - Header
     - Content
     - Availability
   * - `\<cuda/std/cassert\> <https://en.cppreference.com/w/cpp/header/cassert>`_
     - Lightweight assumption testing
     - libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2
   * - `\<cuda/std/cfloat\> <https://en.cppreference.com/w/cpp/header/cfloat>`_
     - Type support library
     - libcu++ 2.2.0 / CCCL 2.2.0 / CUDA 12.3
   * - `\<cuda/std/cmath\> <https://en.cppreference.com/w/cpp/header/cmath>`_
     - Common math functions
     - libcu++ 2.2.0 / CCCL 2.2.0 / CUDA 12.3
   * - `\<cuda/std/cstddef\> <https://en.cppreference.com/w/cpp/header/cstddef>`_
     - Fundamental types
     - libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2
   * - `\<cuda/std/cstdint\> <https://en.cppreference.com/w/cpp/header/cstdint>`_
     - Fundamental integer types
     - libcu++ 2.2.0 / CCCL 2.2.0 / CUDA 12.3
   * - `\<cuda/std/cstdlib\> <https://en.cppreference.com/w/cpp/header/cstdlib>`_
     - Common utilities
     - libcu++ 2.2.0 / CCCL 2.2.0 / CUDA 12.3
