GEOSX
Public Attributes | List of all members
LvArray::NumericLimitsNC< T > Struct Template Reference

The same as NumericLimits except the entries are not static or constexpr. More...

#include <limits.hpp>

Inheritance diagram for LvArray::NumericLimitsNC< T >:
Inheritance graph
[legend]

Public Attributes

T const min = std::numeric_limits< T >::min()
 The smallest finite value T can hold.
 
T const lowest = std::numeric_limits< T >::lowest()
 The lowest finite value T can hold.
 
T const max = std::numeric_limits< T >::max()
 The largest finite value T can hold.
 
T const epsilon = std::numeric_limits< T >::epsilon()
 The difference between 1.0 and the next representable value (if T is floating point).
 
T const round_error = std::numeric_limits< T >::round_error()
 The maximum rounding error (if T is a floating point).
 
T const infinity = std::numeric_limits< T >::infinity()
 A positive infinity value (if T is a floating point).
 
T const quiet_NaN = std::numeric_limits< T >::quiet_NaN()
 A quiet NaN (if T is a floating point).
 
T const signaling_NaN = std::numeric_limits< T >::signaling_NaN()
 A signaling NaN (if T is a floating point).
 
T const 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::NumericLimitsNC< T >

The same as NumericLimits except the entries are not static or constexpr.

This is useful for solving "undefined reference" errors that pop up often in lambdas.

Template Parameters
Tthe numeric type to query.

Definition at line 61 of file limits.hpp.


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