|
Blaze 3.9
|
Negative computation accuracy for floating point data types. More...
#include <Accuracy.h>
Public Types | |
| using | PositiveType = A |
| The positive accuracy type. | |
Public Member Functions | |
Destructor | |
Unary plus/minus operators | |
| constexpr const NegativeAccuracy & | operator+ () const |
| Returns the negative computation accuracy for all floating point data types. | |
| constexpr const PositiveType | operator- () const |
| Returns the positive computation accuracy for all floating point data types. | |
Conversion operator | |
| template<typename T> | |
| constexpr | operator const T () const |
| Conversion operator to the required floating point data type. | |
Forbidden operations | |
| NegativeAccuracy & | operator= (const NegativeAccuracy &)=delete |
| void * | operator& () const =delete |
Private Member Functions | |
Constructors | |
| constexpr | NegativeAccuracy () |
| The default constructor of the NegativeAccuracy class. | |
| NegativeAccuracy (const NegativeAccuracy &)=default | |
Negative computation accuracy for floating point data types.
The NegativeAccuracy class is a wrapper class around the functionality of the blaze::Limits class. It represents the negative computation accuracy of the Blaze library for any floating point data type. In order to assign a negative accuracy value, the NegativeAccuracy class can be implicitly converted to the three built-in floating point data types float, double and long double.
|
constexpr |
Conversion operator to the required floating point data type.
The conversion operator returns the negative computation accuracy for the floating point data type T.
|
constexpr |
Returns the negative computation accuracy for all floating point data types.
|
constexpr |
Returns the positive computation accuracy for all floating point data types.