AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Traits class for floating point types to query limit information. The floating_point_limits class is traits class providing a standardized and portable way to query the following information on either host/device: More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/core/numerics/floating_point_limits.hpp>
Public Member Functions | |
AXOM_STATIC_ASSERT_MSG (std::is_floating_point< T >::value, "floating_point_limits< T > must be used with a floating type!") | |
Traits class for floating point types to query limit information. The floating_point_limits class is traits class providing a standardized and portable way to query the following information on either host/device:
T | the floating point type, e.g., float, double, or long double. |
axom::numerics::floating_point_limits< T >::AXOM_STATIC_ASSERT_MSG | ( | std::is_floating_point< T >::value | , |
"floating_point_limits< T > must be used with a floating type!" | |||
) |