35 #ifndef _BLAZE_MATH_EPSILON_H_ 36 #define _BLAZE_MATH_EPSILON_H_ 68 template<
typename E >
104 template<
typename T >
105 inline constexpr
operator const T()
const;
113 void* operator&()
const =
delete;
138 template<
typename E >
157 template<
typename E >
170 template<
typename E >
192 template<
typename E >
193 template<
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 >
225 template<
typename E,
typename T >
226 constexpr
bool operator<( const NegativeEpsilon<E>& lhs,
const T& rhs );
228 template<
typename E,
typename T >
229 constexpr
bool operator<( const T& lhs, const NegativeEpsilon<E>& rhs );
231 template<
typename E,
typename T >
234 template<
typename E,
typename T >
331 inline constexpr
bool operator<( const NegativeEpsilon<E>& ,
const T& rhs )
350 inline constexpr
bool operator<( const T& lhs, const NegativeEpsilon<E>& )
407 inline constexpr
bool operator<=( const NegativeEpsilon<E>& ,
const T& rhs )
426 inline constexpr
bool operator<=( const T& lhs, const NegativeEpsilon<E>& )
510 explicit inline constexpr
Epsilon();
533 template<
typename T >
534 inline constexpr
operator const T()
const;
542 void* operator&()
const =
delete;
611 template<
typename T >
612 inline constexpr Epsilon::operator
const T()
const 631 template<
typename T >
634 template<
typename T >
637 template<
typename T >
640 template<
typename T >
643 template<
typename T >
646 template<
typename T >
649 template<
typename T >
652 template<
typename T >
655 template<
typename T >
658 template<
typename T >
661 template<
typename T >
664 template<
typename T >
680 template<
typename T >
699 template<
typename T >
718 template<
typename T >
737 template<
typename T >
755 template<
typename T >
773 template<
typename T >
791 template<
typename T >
809 template<
typename T >
827 template<
typename T >
845 template<
typename T >
863 template<
typename T >
881 template<
typename T >
Numerical limits of built-in data types.
constexpr const NegativeType operator-() const
Returns the negative epsilon value for all floating point data types.
Definition: Epsilon.h:590
constexpr bool operator<(const NegativeAccuracy< A > &lhs, const T &rhs)
Less-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:332
constexpr const NegativeEpsilon & operator+() const
Returns the negative epsilon value for all floating point data types.
Definition: Epsilon.h:158
Numerical epsilon value for floating point data types.The Epsilon class is a wrapper class around the...
Definition: Epsilon.h:500
constexpr const PositiveType operator-() const
Returns the positive epsilon value for all floating point data types.
Definition: Epsilon.h:171
constexpr const Epsilon & operator+() const
Returns the positive epsilon value for all floating point data types.
Definition: Epsilon.h:578
E PositiveType
The positive epsilon type.
Definition: Epsilon.h:73
constexpr Epsilon epsilon
Global Epsilon instance.The blaze::epsilon instance can be used wherever a floating point data type i...
Definition: Epsilon.h:906
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
constexpr bool operator>(const NegativeAccuracy< A > &lhs, const T &rhs)
Greater-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:370
constexpr 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:446
constexpr bool operator==(const NegativeAccuracy< A > &lhs, const T &rhs)
Equality comparison between a NegativeAccuracy object and a floating point value. ...
Definition: Accuracy.h:253
constexpr bool operator!=(const NegativeAccuracy< A > &lhs, const T &rhs)
Inequality comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:293
constexpr Epsilon()
The default constructor of the Epsilon class.
Definition: Epsilon.h:560
Constraint on the data type.
constexpr 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:408
constexpr NegativeEpsilon()
The default constructor of the NegativeEpsilon class.
Definition: Epsilon.h:139
Negative epsilon value for floating point data types.The NegativeEpsilon class is a wrapper class aro...
Definition: Epsilon.h:69
NegativeEpsilon< Epsilon > NegativeType
The negative epsilon type.
Definition: Epsilon.h:504
#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