Numerics Library

Numerics Library#

2026-10-07

1 min read time

Applies to Linux and Windows

This page covers the numerics library headers available in libhipcxx, including bit manipulation, complex numbers, linear algebra, numeric constants, and numeric algorithms.

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

Header

Content

libhipcxx Availability

C++ Reference

<cuda/std/ratio>

Compile-time rational arithmetic

libhipcxx 2.7

<ratio>

<cuda/std/bit>

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

libhipcxx 2.7

<bit>

<cuda/std/complex>

Complex number type

libhipcxx 2.7

<complex>

<cuda/std/linalg>

Linear algebra layouts and accessors

libhipcxx 3.0

<linalg>

<cuda/std/numbers>

Numeric constants

libhipcxx 3.0

<numbers>

<cuda/std/numeric>

Numeric algorithms

libhipcxx 2.7

<numeric>