The limit values class.
More...
#include <murl_math_limits.h>
template<class DataType>
class Murl::Math::Limits< DataType >
The limit values class.
This class typically implements std::numeric_limits<DataType>.
- Template Parameters
-
DataType | Available for UInt32, SInt32, UInt64, SInt64, Float and Double. |
|
static const DataType | Min () |
| Get the minimum finite value of the data type. More...
|
|
static const DataType | Max () |
| Get the maximum finite value of the data type. More...
|
|
static const DataType | NaN () |
| Get the quiet (non-signaling) "Not-a-Number" value of the data type. More...
|
|
static const DataType | Infinity () |
| Get the positive infinity value of the data type. More...
|
|
static const DataType | Epsilon () |
| Get the default epsilon value of the data type. More...
|
|
◆ ValueType
template<class DataType >
The template parameter value type.
◆ Min()
template<class DataType >
Get the minimum finite value of the data type.
- Returns
- The minimum finite value of the data type.
◆ Max()
template<class DataType >
Get the maximum finite value of the data type.
- Returns
- The maximum finite value of the data type.
◆ NaN()
template<class DataType >
Get the quiet (non-signaling) "Not-a-Number" value of the data type.
- Returns
- The quiet (non-signaling) "Not-a-Number" value of the data type or zero if not available (e.g. integer types).
◆ Infinity()
template<class DataType >
Get the positive infinity value of the data type.
- Returns
- The positive infinity value of the data type or zero if not available (e.g. integer types).
◆ Epsilon()
template<class DataType >
Get the default epsilon value of the data type.
The difference between 1 and the least value greater than 1 that is representable.
- Returns
- The default epsilon value of the data type.
The documentation for this class was generated from the following files:
- murl_app_types.h
- murl_math_limits.h