GEOSX
|
The same as NumericLimits
except the entries are not static or constexpr.
More...
#include <limits.hpp>
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). | |
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.
T | the numeric type to query. |
Definition at line 61 of file limits.hpp.