Public Types | List of all members
blaze::NegativeAccuracy< A > Class Template Reference

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. More...

#include <Accuracy.h>

Public Types

typedef A PositiveType
 The positive accuracy type.
 

Public Member Functions

Unary plus/minus operators
const NegativeAccuracyoperator+ () const
 Returns the negative computation accuracy for all floating point data types. More...
 
const PositiveType operator- () const
 Returns the positive computation accuracy for all floating point data types. More...
 
Conversion operator
template<typename T >
 operator const T () const
 Conversion operator to the required floating point data type. More...
 

Private Member Functions

Constructor
 NegativeAccuracy ()
 The default constructor of the NegativeAccuracy class.
 
Forbidden operations
NegativeAccuracyoperator= (const NegativeAccuracy &)
 Copy assignment operator (private & undefined)
 
void * operator& () const
 Address operator (private & undefined)
 

Detailed Description

template<typename A>
class blaze::NegativeAccuracy< A >

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.

Note
The NegativeAccuracy class is a helper class for the Accuracy class. It cannot be instantiated on its own, but can only be used by the Accuracy class.

Member Function Documentation

template<typename A >
template<typename T >
blaze::NegativeAccuracy< A >::operator const T ( ) const
inline

Conversion operator to the required floating point data type.

The conversion operator returns the negative computation accuracy for the floating point data type T.

template<typename A >
const NegativeAccuracy< A > & blaze::NegativeAccuracy< A >::operator+ ( ) const
inline

Returns the negative computation accuracy for all floating point data types.

Returns
The negative computation accuracy.
template<typename A >
const NegativeAccuracy< A >::PositiveType blaze::NegativeAccuracy< A >::operator- ( ) const
inline

Returns the positive computation accuracy for all floating point data types.

Returns
The positive computation accuracy.

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