Numerics Library

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

Header

Content

Availability

<cuda/std/bit>

Access, manipulate, and process individual bits and bit sequences.

libcu++ 1.8.0 / CCCL 2.0.0 / CUDA 11.7

<cuda/std/complex>

Complex number type

libcu++ 1.4.0 / CCCL 2.0.0 / CUDA 11.4

<cuda/std/ccomplex>

C complex number arithmetic

libcu++ 1.4.0 / CCCL 2.0.0 / CUDA 11.4

<cuda/std/ratio>

Compile-time rational arthimetic

libcu++ 1.1.0 / CCCL 2.0.0 / CUDA 11.0

<cuda/std/cfloat>

Limits of floating point types

libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2

<cuda/std/climits>

Limits of integral types

libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2

<cuda/std/cstdint>

Fixed-width integer types

libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2

<cuda/std/numeric>

Numeric algorithms

CCCL 2.5.0