<cuda/std/numbers>#
2026-10-01
2 min read time
Applies to Linux and Windows
This page documents cuda::std::numbers in libhipcxx, providing mathematical constants such as pi and e available from C++14 onwards, with specializations for extended floating-point types.
Extensions#
All features of
<numbers>are made available in C++14 onwards.Specializations for CUDA extended floating-point types __half and __nvbfloat16 are provided only on Linux systems.