Murl::Math::Limits< DataType > Class Template Reference
The limit values class. More...
#include "murl_math_limits.h"
Public Types | |
using | ValueType = DataType |
The template parameter value type. | |
Static Public Member Functions | |
static DataType | Min () |
Get the minimum finite value of the data type. More... | |
static DataType | Max () |
Get the maximum finite value of the data type. More... | |
static DataType | NaN () |
Get the quiet (non-signaling) "Not-a-Number" value of the data type. More... | |
static DataType | Infinity () |
Get the positive infinity value of the data type. More... | |
static DataType | Epsilon () |
Get the default epsilon value of the data type. More... | |
Detailed Description
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.
Member Function Documentation
◆ Min()
template<class DataType >
|
inlinestatic |
Get the minimum finite value of the data type.
- Returns
- The minimum finite value of the data type.
◆ Max()
template<class DataType >
|
inlinestatic |
Get the maximum finite value of the data type.
- Returns
- The maximum finite value of the data type.
◆ NaN()
template<class DataType >
|
inlinestatic |
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 >
|
inlinestatic |
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 >
|
inlinestatic |
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.
Referenced by Murl::Math::Matrix< DataType >::Invert(), Murl::Math::Sphere< DataType >::SetContaining(), and Murl::Math::Matrix< DataType >::Solve().
The documentation for this class was generated from the following files:
- murl_app_types.h
- murl_math_limits.h