Skip to content

Commit

Permalink
Add documentation for <cuda/std/numeric>
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Apr 30, 2024
1 parent 4a2b668 commit 699ac74
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
9 changes: 1 addition & 8 deletions libcudacxx/docs/standard_api/numerics_library.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,4 @@ Any Standard C++ header not listed below is omitted.
| [`<cuda/std/cfloat>`](https://en.cppreference.com/w/cpp/header/cfloat) | Limits of floating point types. <br/><br/> 1.0.0 / CUDA 10.2 |
| [`<cuda/std/climits>`](https://en.cppreference.com/w/cpp/header/climits) | Limits of integral types. <br/><br/> 1.0.0 / CUDA 10.2 |
| [`<cuda/std/cstdint>`](https://en.cppreference.com/w/cpp/header/cstdint) | Fixed-width integer types. <br/><br/> 1.0.0 / CUDA 10.2 |


[`<cuda/std/complex>`]: https://en.cppreference.com/w/cpp/header/complex
[`<cuda/std/ccomplex>`]: https://en.cppreference.com/w/cpp/header/ccomplex
[`<cuda/std/ratio>`]: https://en.cppreference.com/w/cpp/header/ratio
[`<cuda/std/cfloat>`]: https://en.cppreference.com/w/cpp/header/cfloat
[`<cuda/std/climits>`]: https://en.cppreference.com/w/cpp/header/climits
[`<cuda/std/cstdint>`]: https://en.cppreference.com/w/cpp/header/cstdint
| [`<cuda/std/numeric>`](https://en.cppreference.com/w/cpp/header/numeric) | Numeric algorithms (see also: [libcu++ Specifics]({{ "standard_api/numerics_library/numeric.html" | relative_url }})). <br/><br/> 2.5.0 |
18 changes: 18 additions & 0 deletions libcudacxx/docs/standard_api/numerics_library/numeric.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
grand_parent: Standard API
parent: Numerics Library
nav_order: 3
---

# `<cuda/std/numeric>`

## Omissions

* Currently we do not expose any parallel algorithms.
* Saturation arithmetics have not been implemented yet

## Extensions

* All features of `<numeric>` are made available in C++11 onwards
* All features of `<numeric>` are made constexpr in C++14 onwards
* Algorithms that return a value have been marked `[[nodiscard]]`

0 comments on commit 699ac74

Please sign in to comment.