35 #ifndef _BLAZE_MATH_INFINITY_H_ 36 #define _BLAZE_MATH_INFINITY_H_ 86 template<
typename I >
111 inline constexpr
operator signed char()
const;
112 inline constexpr
operator char()
const;
113 inline constexpr
operator wchar_t()
const;
114 inline constexpr
operator short()
const;
115 inline constexpr
operator int()
const;
116 inline constexpr
operator long()
const;
118 inline constexpr
operator ptrdiff_t()
const;
120 inline constexpr
operator float()
const;
121 inline constexpr
operator double()
const;
122 inline constexpr
operator long double()
const;
129 template<
typename T >
130 inline constexpr
bool equal(
const T& rhs )
const;
163 template<
typename I >
182 template<
typename I >
195 template<
typename I >
208 template<
typename I >
221 template<
typename I >
234 template<
typename I >
247 template<
typename I >
261 template<
typename I >
275 template<
typename I >
288 template<
typename I >
301 template<
typename I >
324 template<
typename I >
325 template<
typename T >
345 template<
typename I1,
typename I2 >
348 template<
typename I,
typename T >
351 template<
typename I,
typename T >
354 template<
typename I1,
typename I2 >
357 template<
typename I,
typename T >
360 template<
typename I,
typename T >
372 template<
typename I1
396 return lhs.
equal( rhs );
416 return rhs.
equal( lhs );
427 template<
typename I1
451 return !lhs.
equal( rhs );
471 return !rhs.
equal( lhs );
534 explicit inline constexpr
Infinity();
545 inline constexpr
operator unsigned char()
const;
546 inline constexpr
operator signed char()
const;
547 inline constexpr
operator char()
const;
548 inline constexpr
operator wchar_t()
const;
549 inline constexpr
operator unsigned short()
const;
550 inline constexpr
operator short()
const;
551 inline constexpr
operator unsigned int()
const;
552 inline constexpr
operator int()
const;
553 inline constexpr
operator unsigned long()
const;
554 inline constexpr
operator long()
const;
556 inline constexpr
operator size_t()
const;
557 inline constexpr
operator ptrdiff_t()
const;
559 inline constexpr
operator float()
const;
560 inline constexpr
operator double()
const;
561 inline constexpr
operator long double()
const;
576 template<
typename T >
577 inline constexpr
bool equal(
const T& rhs )
const;
622 inline constexpr Infinity::operator
unsigned char()
const 634 inline constexpr Infinity::operator char()
const 646 inline constexpr Infinity::operator
signed char()
const 658 inline constexpr Infinity::operator wchar_t()
const 670 inline constexpr Infinity::operator
unsigned short()
const 682 inline constexpr Infinity::operator short()
const 694 inline constexpr Infinity::operator
unsigned int()
const 706 inline constexpr Infinity::operator int()
const 718 inline constexpr Infinity::operator
unsigned long()
const 730 inline constexpr Infinity::operator long()
const 743 inline constexpr Infinity::operator
size_t()
const 757 inline constexpr Infinity::operator
ptrdiff_t()
const 770 inline constexpr Infinity::operator float()
const 782 inline constexpr Infinity::operator double()
const 794 inline constexpr Infinity::operator
long double()
const 848 template<
typename T >
870 template<
typename I >
873 template<
typename I >
876 template<
typename T >
879 template<
typename T >
884 template<
typename I >
887 template<
typename I >
890 template<
typename T >
893 template<
typename T >
918 template<
typename I >
932 template<
typename I >
951 template<
typename T >
954 return lhs.
equal( rhs );
970 template<
typename T >
973 return rhs.
equal( lhs );
997 template<
typename I >
1011 template<
typename I >
1030 template<
typename T >
1033 return !lhs.
equal( rhs );
1049 template<
typename T >
1052 return !rhs.
equal( lhs );
Pointer difference type of the Blaze library.
Positive infinity for built-in data types.The Infinity class is a wrapper class around the functional...
Definition: Infinity.h:524
Numerical limits of built-in data types.
Header file for basic type definitions.
constexpr bool equal(const T &rhs) const
Equality comparison to a built-in data type.
Definition: Infinity.h:326
Negative infinity for built-in data types.The NegativeInfinity class is a wrapper class around the fu...
Definition: Infinity.h:87
const DenseIterator< Type, AF > operator+(const DenseIterator< Type, AF > &it, ptrdiff_t inc) noexcept
Addition between a DenseIterator and an integral value.
Definition: DenseIterator.h:701
const DenseIterator< Type, AF > operator-(const DenseIterator< Type, AF > &it, ptrdiff_t inc) noexcept
Subtraction between a DenseIterator and an integral value.
Definition: DenseIterator.h:733
I PositiveType
The positive infinity type.
Definition: Infinity.h:91
NegativeInfinity & operator=(const NegativeInfinity &ninf)
Copy assignment operator (private & undefined)
constexpr NegativeInfinity()
The default constructor of the NegativeInfinity class.
Definition: Infinity.h:164
constexpr const NegativeType operator-() const
Returns the negative infinity value for all built-in data types.
Definition: Infinity.h:826
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
void * operator &() const
Address operator (private & undefined)
constexpr bool equal(const T &rhs) const
Equality comparison to a built-in data type.
Definition: Infinity.h:849
constexpr bool operator==(const NegativeAccuracy< A > &lhs, const T &rhs)
Equality comparison between a NegativeAccuracy object and a floating point value. ...
Definition: Accuracy.h:250
constexpr const Infinity & operator+() const
Returns the positive infinity value for all built-in data types.
Definition: Infinity.h:814
constexpr bool operator!=(const NegativeAccuracy< A > &lhs, const T &rhs)
Inequality comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:290
Numerical limits of built-in data types.The Limits class provides numerical limits for the following ...
Definition: Limits.h:106
#define BLAZE_CONSTRAINT_MUST_BE_BUILTIN_TYPE(T)
Constraint on the data type.In case the given data type T is not a built-in data type, a compilation error is created.
Definition: Builtin.h:60
constexpr Infinity()
The default constructor of the Infinity class.
Definition: Infinity.h:604
constexpr Infinity inf
Global Infinity instance.The blaze::inf instance can be used wherever a built-in data type is expecte...
Definition: Infinity.h:1073
Size type of the Blaze library.
Constraint on the data type.