|
Download dependencies/libcudacxx/docs/standard_api/numerics_library/complex.md from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 608 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/dependencies/libcudacxx/docs/standard_api/numerics_library/complex.md
- Command line
-
hf download hf://camenduru/thrust/dependencies/libcudacxx/docs/standard_api/numerics_library/complex.md
-
curl -L -o complex.md https://huggingface.co/camenduru/thrust/resolve/main/dependencies/libcudacxx/docs/standard_api/numerics_library/complex.md
608 Bytes
| grand_parent: Standard API | |
| parent: Numerics Library | |
| nav_order: 2 | |
| # `<cuda/std/complex>` | |
| ## Omissions | |
| When using libcu++ with NVCC, `complex` does not support `long double` or | |
| `complex` literals (`_i`, `_if`, and `_il`). | |
| NVCC warns on any usage of `long double` in device code, because `long double` | |
| will be demoted to `double` in device code. | |
| This warning can be suppressed silenced with `#pragma`s, but only globally, not | |
| just when using `complex`. | |
| User-defined floating-point literals must be specified in terms of | |
| `long double`, so they lead to warns that are unable to be suppressed. | |