Celeritas  0.5.0-56+6b053cd
celeritas::numeric_limits< Numeric > Struct Template Reference

Subset of numeric limits compatible with both host and device. More...

Detailed Description

template<class Numeric>
struct celeritas::numeric_limits< Numeric >

Subset of numeric limits compatible with both host and device.

Note
CUDART_NAN and CUDART_INF are not constexpr in CUDA 10 at least, so we have replaced those with compiler built-ins that work in GCC, Clang, and MSVC.

The documentation for this struct was generated from the following file: