LvArray
Static Public Attributes | List of all members
LvArray::NumericLimits< T > Struct Template Reference

A wrapper for the std::numeric_limits< T > member functions, this allows their values to be used on device. More...

#include <limits.hpp>

Inheritance diagram for LvArray::NumericLimits< T >:
Inheritance graph

Static Public Attributes

static constexpr T min = std::numeric_limits< T >::min()
 The smallest finite value T can hold.
 
static constexpr T lowest = std::numeric_limits< T >::lowest()
 The lowest finite value T can hold.
 
static constexpr T max = std::numeric_limits< T >::max()
 The largest finite value T can hold.
 
static constexpr T epsilon = std::numeric_limits< T >::epsilon()
 The difference between 1.0 and the next representable value (if T is floating point).
 
static constexpr T round_error = std::numeric_limits< T >::round_error()
 The maximum rounding error (if T is a floating point).
 
static constexpr T infinity = std::numeric_limits< T >::infinity()
 A positive infinity value (if T is a floating point).
 
static constexpr T quiet_NaN = std::numeric_limits< T >::quiet_NaN()
 A quiet NaN (if T is a floating point).
 
static constexpr T signaling_NaN = std::numeric_limits< T >::signaling_NaN()
 A signaling NaN (if T is a floating point).
 
static constexpr T denorm_min = std::numeric_limits< T >::denorm_min()
 The smallest positive subnormal value (if T is a floating point).
 

Detailed Description

template<typename T>
struct LvArray::NumericLimits< T >

A wrapper for the std::numeric_limits< T > member functions, this allows their values to be used on device.

Template Parameters
TThe numeric type to query.

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