Celeritas 0.6.0-rc.2.10+develop.de0a3a05
Loading...
Searching...
No Matches
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.
Deprecated:
The name of this class will change to NumericLimits to conform to the Celeritas naming system, since it is not a complete replacement for the std implementation.

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