35#ifndef _BLAZE_MATH_EPSILON_H_
36#define _BLAZE_MATH_EPSILON_H_
104 template<
typename T >
105 constexpr operator const T()
const;
113 void* operator&()
const =
delete;
138template<
typename E >
157template<
typename E >
170template<
typename E >
192template<
typename E >
193template<
typename T >
213template<
typename E,
typename T >
216template<
typename E,
typename T >
219template<
typename E,
typename T >
222template<
typename E,
typename T >
225template<
typename E,
typename T >
228template<
typename E,
typename T >
231template<
typename E,
typename T >
234template<
typename E,
typename T >
533 template<
typename T >
534 constexpr operator const T()
const;
542 void* operator&()
const =
delete;
611template<
typename T >
612constexpr Epsilon::operator
const T()
const
631template<
typename T >
634template<
typename T >
637template<
typename T >
640template<
typename T >
643template<
typename T >
646template<
typename T >
649template<
typename T >
652template<
typename T >
655template<
typename T >
658template<
typename T >
661template<
typename T >
664template<
typename T >
680template<
typename T >
699template<
typename T >
718template<
typename T >
737template<
typename T >
755template<
typename T >
773template<
typename T >
777 return lhs < Limits<T>::epsilon();
791template<
typename T >
809template<
typename T >
827template<
typename T >
845template<
typename T >
849 return lhs <= Limits<T>::epsilon();
863template<
typename T >
881template<
typename T >
Constraint on the data type.
Numerical limits of built-in data types.
Numerical epsilon value for floating point data types.
Definition Epsilon.h:501
constexpr const NegativeType operator-() const
Returns the negative epsilon value for all floating point data types.
Definition Epsilon.h:590
constexpr Epsilon()
The default constructor of the Epsilon class.
Definition Epsilon.h:560
constexpr const Epsilon & operator+() const
Returns the positive epsilon value for all floating point data types.
Definition Epsilon.h:578
NegativeEpsilon< Epsilon > NegativeType
The negative epsilon type.
Definition Epsilon.h:504
Negative epsilon value for floating point data types.
Definition Epsilon.h:70
constexpr const PositiveType operator-() const
Returns the positive epsilon value for all floating point data types.
Definition Epsilon.h:171
constexpr NegativeEpsilon()
The default constructor of the NegativeEpsilon class.
Definition Epsilon.h:139
constexpr const NegativeEpsilon & operator+() const
Returns the negative epsilon value for all floating point data types.
Definition Epsilon.h:158
E PositiveType
The positive epsilon type.
Definition Epsilon.h:73
#define BLAZE_CONSTRAINT_MUST_BE_FLOATING_POINT_TYPE(T)
Constraint on the data type.
Definition FloatingPoint.h:61
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 > &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)
Less-than comparison between a NegativeAccuracy object and a floating point value.
Definition Accuracy.h:332
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)
Inequality comparison between a NegativeAccuracy object and a floating point value.
Definition Accuracy.h:293
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 Epsilon epsilon
Global Epsilon instance.
Definition Epsilon.h:906
Numerical limits of built-in data types.
Definition Limits.h:108