35 #ifndef _BLAZE_MATH_EPSILON_H_
36 #define _BLAZE_MATH_EPSILON_H_
68 template<
typename E >
94 inline const PositiveType
operator-()
const;
101 template<
typename T >
102 inline operator const T()
const;
135 template<
typename E >
154 template<
typename E >
167 template<
typename E >
189 template<
typename E >
190 template<
typename T >
210 template<
typename E,
typename T >
213 template<
typename E,
typename T >
216 template<
typename E,
typename T >
219 template<
typename E,
typename T >
222 template<
typename E,
typename T >
223 inline bool operator<( const NegativeEpsilon<E>& lhs,
const T& rhs );
225 template<
typename E,
typename T >
226 inline bool operator<( const T& lhs, const NegativeEpsilon<E>& rhs );
228 template<
typename E,
typename T >
231 template<
typename E,
typename T >
328 inline bool operator<( const NegativeEpsilon<E>& ,
const T& rhs )
347 inline bool operator<( const T& lhs, const NegativeEpsilon<E>& )
404 inline bool operator<=( const NegativeEpsilon<E>& ,
const T& rhs )
423 inline bool operator<=( const T& lhs, const NegativeEpsilon<E>& )
520 inline const NegativeType
operator-()
const;
527 template<
typename T >
528 inline operator const T()
const;
606 template<
typename T >
607 inline Epsilon::operator
const T()
const
626 template<
typename T >
629 template<
typename T >
632 template<
typename T >
635 template<
typename T >
638 template<
typename T >
641 template<
typename T >
644 template<
typename T >
647 template<
typename T >
650 template<
typename T >
653 template<
typename T >
656 template<
typename T >
659 template<
typename T >
675 template<
typename T >
694 template<
typename T >
713 template<
typename T >
732 template<
typename T >
750 template<
typename T >
768 template<
typename T >
786 template<
typename T >
804 template<
typename T >
822 template<
typename T >
840 template<
typename T >
858 template<
typename T >
876 template<
typename T >
void * operator&() const
Address operator (private & undefined)
Numerical limits of built-in data types.
bool operator<=(const NegativeAccuracy< A > &, const T &rhs)
Less-or-equal-than comparison between a NegativeAccuracy object and a floating point value...
Definition: Accuracy.h:404
Epsilon()
The default constructor of the Epsilon class.
Definition: Epsilon.h:555
const PositiveType operator-() const
Returns the positive epsilon value for all floating point data types.
Definition: Epsilon.h:168
E PositiveType
The positive epsilon type.
Definition: Epsilon.h:73
Numerical epsilon value for floating point data types.The Epsilon class is a wrapper class around the...
Definition: Epsilon.h:497
bool operator>(const NegativeAccuracy< A > &lhs, const T &rhs)
Greater-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:366
bool operator>=(const NegativeAccuracy< A > &, const T &rhs)
Greater-or-equal-than comparison between a NegativeAccuracy object and a floating point value...
Definition: Accuracy.h:442
NegativeEpsilon()
The default constructor of the NegativeEpsilon class.
Definition: Epsilon.h:136
NegativeEpsilon< Epsilon > NegativeType
The negative epsilon type.
Definition: Epsilon.h:501
const NegativeEpsilon & operator+() const
Returns the negative epsilon value for all floating point data types.
Definition: Epsilon.h:155
Epsilon & operator=(const Epsilon &)
Copy assignment operator (private & undefined)
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
NegativeEpsilon & operator=(const NegativeEpsilon &)
Copy assignment operator (private & undefined)
void * operator&() const
Address operator (private & undefined)
const NegativeType operator-() const
Returns the negative epsilon value for all floating point data types.
Definition: Epsilon.h:585
Constraint on the data type.
bool operator<(const NegativeAccuracy< A > &lhs, const T &rhs)
Less-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:328
const Epsilon & operator+() const
Returns the positive epsilon value for all floating point data types.
Definition: Epsilon.h:573
const Epsilon epsilon
Global Epsilon instance.The blaze::epsilon instance can be used wherever a floating point data type i...
Definition: Epsilon.h:901
Negative epsilon value for floating point data types.The NegativeEpsilon class is a wrapper class aro...
Definition: Epsilon.h:69
bool operator==(const NegativeAccuracy< A > &lhs, const T &rhs)
Equality comparison between a NegativeAccuracy object and a floating point value. ...
Definition: Accuracy.h:249
bool operator!=(const NegativeAccuracy< A > &lhs, const T &rhs)
Inequality comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:289
#define BLAZE_CONSTRAINT_MUST_BE_FLOATING_POINT_TYPE(T)
Constraint on the data type.In case the given data type T is not a floating point data type...
Definition: FloatingPoint.h:61