Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement <cuda/std/numbers> #3355

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/libcudacxx/standard_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ Feature availability:

- C++20 ``std::assume_aligned`` in ``<memory>`` is available in C++11.

- C++20 ``<numbers>`` are available in C++14.

- C++20 ``<ranges>`` are available in C++17.

- all ``<ranges>`` concepts are available in C++17. However, they
Expand Down
4 changes: 4 additions & 0 deletions docs/libcudacxx/standard_api/numerics_library.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Numerics Library

numerics_library/bit
numerics_library/complex
numerics_library/numbers
numerics_library/numeric

Any Standard C++ header not listed below is omitted.
Expand Down Expand Up @@ -41,6 +42,9 @@ Any Standard C++ header not listed below is omitted.
* - `\<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/numbers\> <https://en.cppreference.com/w/cpp/header/numbers>`_
- Numeric constants
- CCCL 3.0.0
* - `\<cuda/std/numeric\> <https://en.cppreference.com/w/cpp/header/numeric>`_
- Numeric algorithms
- CCCL 2.5.0
9 changes: 9 additions & 0 deletions docs/libcudacxx/standard_api/numerics_library/numbers.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. _libcudacxx-standard-api-numerics-numbers:

``<cuda/std/numbers>``
======================

Extensions
----------

- All features of ``<numbers>`` are made available in C++14 onwards
Loading
Loading