|
LvArray
|
Contains portable access to std::numeric_limits and functions for converting between integral types. More...


Go to the source code of this file.
Classes | |
| struct | LvArray::NumericLimits< T > |
| A wrapper for the std::numeric_limits< T > member functions, this allows their values to be used on device. More... | |
| struct | LvArray::NumericLimitsNC< T > |
The same as NumericLimits except the entries are not static or constexpr. More... | |
Namespaces | |
| LvArray | |
| The top level namespace. | |
Functions | |
| template<typename OUTPUT , typename INPUT > | |
| std::enable_if_t< internal::canEasilyConvert< INPUT, OUTPUT >, OUTPUT > constexpr LVARRAY_HOST_DEVICE | LvArray::integerConversion (INPUT input) |
| template<typename OUTPUT , typename INPUT > | |
| std::enable_if_t< !internal::canEasilyConvert< INPUT, OUTPUT > &&std::is_unsigned< INPUT >::value, OUTPUT > LVARRAY_HOST_DEVICE | LvArray::integerConversion (INPUT input) |
| template<typename OUTPUT , typename INPUT > | |
| std::enable_if_t< !internal::canEasilyConvert< INPUT, OUTPUT > &&!std::is_unsigned< INPUT >::value, OUTPUT > LVARRAY_HOST_DEVICE | LvArray::integerConversion (INPUT input) |
Variables | |
| template<typename T , typename U > | |
| constexpr bool | LvArray::internal::sameSignedness |
| True iff. More... | |
| template<typename INPUT , typename OUTPUT > | |
| constexpr bool | LvArray::internal::canEasilyConvert |
| True iff. More... | |
Contains portable access to std::numeric_limits and functions for converting between integral types.
| constexpr bool LvArray::internal::canEasilyConvert |
True iff.
| INPUT | The input type. |
| OUTPUT | The output type. |
| OUTPUT | can hold every possible value of |
| INPUT. |
| constexpr bool LvArray::internal::sameSignedness |
True iff.
| T | The first type to check. |
| U | The second type to check. |
| T | and |
| U | are both signed or both unsigned. |
1.8.13