llvm/libc/docs/stdbit.rst

.. include:: check.rst

========
stdbit.h
========

Macros
======

.. list-table::
  :widths: auto
  :align: center
  :header-rows: 1

  * - Function
    - Implemented
    - C23 Standard Section
    - POSIX.1-2017 Standard Section
  * - __STDC_ENDIAN_BIG__
    - |check|
    - 7.18.2.2
    -
  * - __STDC_ENDIAN_LITTLE__
    - |check|
    - 7.18.2.2
    -
  * - __STDC_ENDIAN_NATIVE__
    - |check|
    - 7.18.2.2
    -
  * - __STDC_VERSION_STDBIT_H__
    - |check|
    - 7.18.1.2
    -
  * - stdc_bit_ceil
    - |check|
    - 7.18.16.1
    -
  * - stdc_bit_floor
    - |check|
    - 7.18.15.1
    -
  * - stdc_bit_width
    - |check|
    - 7.18.14.1
    -
  * - stdc_count_ones
    - |check|
    - 7.18.12.1
    -
  * - stdc_count_zeros
    - |check|
    - 7.18.11.1
    -
  * - stdc_first_leading_one
    - |check|
    - 7.18.8.1
    -
  * - stdc_first_leading_zero
    - |check|
    - 7.18.7.1
    -
  * - stdc_first_trailing_one
    - |check|
    - 7.18.10.1
    -
  * - stdc_first_trailing_zero
    - |check|
    - 7.18.9.1
    -
  * - stdc_has_single_bit
    - |check|
    - 7.18.13.1
    -
  * - stdc_leading_ones
    - |check|
    - 7.18.4.1
    -
  * - stdc_leading_zeros
    - |check|
    - 7.18.3.1
    -
  * - stdc_trailing_ones
    - |check|
    - 7.18.6.1
    -
  * - stdc_trailing_zeros
    - |check|
    - 7.18.5.1
    -

Functions
=========

.. list-table::
  :widths: auto
  :align: center
  :header-rows: 1

  * - Function
    - Implemented
    - C23 Standard Section
    - POSIX.1-2017 Standard Section
  * - stdc_bit_ceil_uc
    - |check|
    - 7.18.16
    -
  * - stdc_bit_ceil_ui
    - |check|
    - 7.18.16
    -
  * - stdc_bit_ceil_ul
    - |check|
    - 7.18.16
    -
  * - stdc_bit_ceil_ull
    - |check|
    - 7.18.16
    -
  * - stdc_bit_ceil_us
    - |check|
    - 7.18.16
    -
  * - stdc_bit_floor_uc
    - |check|
    - 7.18.15
    -
  * - stdc_bit_floor_ui
    - |check|
    - 7.18.15
    -
  * - stdc_bit_floor_ul
    - |check|
    - 7.18.15
    -
  * - stdc_bit_floor_ull
    - |check|
    - 7.18.15
    -
  * - stdc_bit_floor_us
    - |check|
    - 7.18.15
    -
  * - stdc_bit_width_uc
    - |check|
    - 7.18.14
    -
  * - stdc_bit_width_ui
    - |check|
    - 7.18.14
    -
  * - stdc_bit_width_ul
    - |check|
    - 7.18.14
    -
  * - stdc_bit_width_ull
    - |check|
    - 7.18.14
    -
  * - stdc_bit_width_us
    - |check|
    - 7.18.14
    -
  * - stdc_count_ones_uc
    - |check|
    - 7.18.12
    -
  * - stdc_count_ones_ui
    - |check|
    - 7.18.12
    -
  * - stdc_count_ones_ul
    - |check|
    - 7.18.12
    -
  * - stdc_count_ones_ull
    - |check|
    - 7.18.12
    -
  * - stdc_count_ones_us
    - |check|
    - 7.18.12
    -
  * - stdc_count_zeros_uc
    - |check|
    - 7.18.11
    -
  * - stdc_count_zeros_ui
    - |check|
    - 7.18.11
    -
  * - stdc_count_zeros_ul
    - |check|
    - 7.18.11
    -
  * - stdc_count_zeros_ull
    - |check|
    - 7.18.11
    -
  * - stdc_count_zeros_us
    - |check|
    - 7.18.11
    -
  * - stdc_first_leading_one_uc
    - |check|
    - 7.18.8
    -
  * - stdc_first_leading_one_ui
    - |check|
    - 7.18.8
    -
  * - stdc_first_leading_one_ul
    - |check|
    - 7.18.8
    -
  * - stdc_first_leading_one_ull
    - |check|
    - 7.18.8
    -
  * - stdc_first_leading_one_us
    - |check|
    - 7.18.8
    -
  * - stdc_first_leading_zero_uc
    - |check|
    - 7.18.7
    -
  * - stdc_first_leading_zero_ui
    - |check|
    - 7.18.7
    -
  * - stdc_first_leading_zero_ul
    - |check|
    - 7.18.7
    -
  * - stdc_first_leading_zero_ull
    - |check|
    - 7.18.7
    -
  * - stdc_first_leading_zero_us
    - |check|
    - 7.18.7
    -
  * - stdc_first_trailing_one_uc
    - |check|
    - 7.18.10
    -
  * - stdc_first_trailing_one_ui
    - |check|
    - 7.18.10
    -
  * - stdc_first_trailing_one_ul
    - |check|
    - 7.18.10
    -
  * - stdc_first_trailing_one_ull
    - |check|
    - 7.18.10
    -
  * - stdc_first_trailing_one_us
    - |check|
    - 7.18.10
    -
  * - stdc_first_trailing_zero_uc
    - |check|
    - 7.18.9
    -
  * - stdc_first_trailing_zero_ui
    - |check|
    - 7.18.9
    -
  * - stdc_first_trailing_zero_ul
    - |check|
    - 7.18.9
    -
  * - stdc_first_trailing_zero_ull
    - |check|
    - 7.18.9
    -
  * - stdc_first_trailing_zero_us
    - |check|
    - 7.18.9
    -
  * - stdc_has_single_bit_uc
    - |check|
    - 7.18.13
    -
  * - stdc_has_single_bit_ui
    - |check|
    - 7.18.13
    -
  * - stdc_has_single_bit_ul
    - |check|
    - 7.18.13
    -
  * - stdc_has_single_bit_ull
    - |check|
    - 7.18.13
    -
  * - stdc_has_single_bit_us
    - |check|
    - 7.18.13
    -
  * - stdc_leading_ones_uc
    - |check|
    - 7.18.4
    -
  * - stdc_leading_ones_ui
    - |check|
    - 7.18.4
    -
  * - stdc_leading_ones_ul
    - |check|
    - 7.18.4
    -
  * - stdc_leading_ones_ull
    - |check|
    - 7.18.4
    -
  * - stdc_leading_ones_us
    - |check|
    - 7.18.4
    -
  * - stdc_leading_zeros_uc
    - |check|
    - 7.18.3
    -
  * - stdc_leading_zeros_ui
    - |check|
    - 7.18.3
    -
  * - stdc_leading_zeros_ul
    - |check|
    - 7.18.3
    -
  * - stdc_leading_zeros_ull
    - |check|
    - 7.18.3
    -
  * - stdc_leading_zeros_us
    - |check|
    - 7.18.3
    -
  * - stdc_trailing_ones_uc
    - |check|
    - 7.18.6
    -
  * - stdc_trailing_ones_ui
    - |check|
    - 7.18.6
    -
  * - stdc_trailing_ones_ul
    - |check|
    - 7.18.6
    -
  * - stdc_trailing_ones_ull
    - |check|
    - 7.18.6
    -
  * - stdc_trailing_ones_us
    - |check|
    - 7.18.6
    -
  * - stdc_trailing_zeros_uc
    - |check|
    - 7.18.5
    -
  * - stdc_trailing_zeros_ui
    - |check|
    - 7.18.5
    -
  * - stdc_trailing_zeros_ul
    - |check|
    - 7.18.5
    -
  * - stdc_trailing_zeros_ull
    - |check|
    - 7.18.5
    -
  * - stdc_trailing_zeros_us
    - |check|
    - 7.18.5
    -