35 #ifndef _BLAZE_MATH_INFINITY_H_ 36 #define _BLAZE_MATH_INFINITY_H_ 87 template<
typename I >
115 inline constexpr
operator signed char()
const;
116 inline constexpr
operator char()
const;
117 inline constexpr
operator wchar_t()
const;
118 inline constexpr
operator short()
const;
119 inline constexpr
operator int()
const;
120 inline constexpr
operator long()
const;
121 #if BLAZE_WIN64_PLATFORM 122 inline constexpr
operator ptrdiff_t()
const;
124 inline constexpr
operator float()
const;
125 inline constexpr
operator double()
const;
126 inline constexpr
operator long double()
const;
133 template<
typename T >
134 inline constexpr
bool equal(
const T& rhs )
const;
142 void* operator&()
const =
delete;
167 template<
typename I >
186 template<
typename I >
199 template<
typename I >
212 template<
typename I >
225 template<
typename I >
238 template<
typename I >
251 template<
typename I >
260 #if BLAZE_WIN64_PLATFORM 265 template<
typename I >
279 template<
typename I >
292 template<
typename I >
305 template<
typename I >
328 template<
typename I >
329 template<
typename T >
349 template<
typename I1,
typename I2 >
352 template<
typename I,
typename T >
355 template<
typename I,
typename T >
358 template<
typename I1,
typename I2 >
361 template<
typename I,
typename T >
364 template<
typename I,
typename T >
376 template<
typename I1
400 return lhs.
equal( rhs );
420 return rhs.
equal( lhs );
431 template<
typename I1
455 return !lhs.
equal( rhs );
475 return !rhs.
equal( lhs );
538 explicit inline constexpr
Infinity();
553 inline constexpr
operator unsigned char()
const;
554 inline constexpr
operator signed char()
const;
555 inline constexpr
operator char()
const;
556 inline constexpr
operator wchar_t()
const;
557 inline constexpr
operator unsigned short()
const;
558 inline constexpr
operator short()
const;
559 inline constexpr
operator unsigned int()
const;
560 inline constexpr
operator int()
const;
561 inline constexpr
operator unsigned long()
const;
562 inline constexpr
operator long()
const;
563 #if BLAZE_WIN64_PLATFORM 564 inline constexpr
operator size_t()
const;
565 inline constexpr
operator ptrdiff_t()
const;
567 inline constexpr
operator float()
const;
568 inline constexpr
operator double()
const;
569 inline constexpr
operator long double()
const;
584 template<
typename T >
585 inline constexpr
bool equal(
const T& rhs )
const;
593 void* operator&()
const =
delete;
629 inline constexpr Infinity::operator
unsigned char()
const 641 inline constexpr Infinity::operator char()
const 653 inline constexpr Infinity::operator
signed char()
const 665 inline constexpr Infinity::operator wchar_t()
const 677 inline constexpr Infinity::operator
unsigned short()
const 689 inline constexpr Infinity::operator short()
const 701 inline constexpr Infinity::operator
unsigned int()
const 713 inline constexpr Infinity::operator int()
const 725 inline constexpr Infinity::operator
unsigned long()
const 737 inline constexpr Infinity::operator long()
const 745 #if BLAZE_WIN64_PLATFORM 750 inline constexpr Infinity::operator
size_t()
const 759 #if BLAZE_WIN64_PLATFORM 764 inline constexpr Infinity::operator ptrdiff_t()
const 777 inline constexpr Infinity::operator float()
const 789 inline constexpr Infinity::operator double()
const 801 inline constexpr Infinity::operator
long double()
const 855 template<
typename T >
877 template<
typename I >
880 template<
typename I >
883 template<
typename T >
886 template<
typename T >
891 template<
typename I >
894 template<
typename I >
897 template<
typename T >
900 template<
typename T >
925 template<
typename I >
939 template<
typename I >
958 template<
typename T >
961 return lhs.
equal( rhs );
977 template<
typename T >
980 return rhs.
equal( lhs );
1004 template<
typename I >
1018 template<
typename I >
1037 template<
typename T >
1040 return !lhs.
equal( rhs );
1056 template<
typename T >
1059 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:528
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:330
Negative infinity for built-in data types.The NegativeInfinity class is a wrapper class around the fu...
Definition: Infinity.h:88
I PositiveType
The positive infinity type.
Definition: Infinity.h:92
NegativeInfinity< Infinity > NegativeType
The negative infinity type.
Definition: Infinity.h:532
constexpr NegativeInfinity()
The default constructor of the NegativeInfinity class.
Definition: Infinity.h:168
constexpr const NegativeType operator-() const
Returns the negative infinity value for all built-in data types.
Definition: Infinity.h:833
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
constexpr bool equal(const T &rhs) const
Equality comparison to a built-in data type.
Definition: Infinity.h:856
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 const Infinity & operator+() const
Returns the positive infinity value for all built-in data types.
Definition: Infinity.h:821
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
Numerical limits of built-in data types.The Limits class provides numerical limits for the following ...
Definition: Limits.h:107
#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,...
Definition: Builtin.h:60
constexpr Infinity()
The default constructor of the Infinity class.
Definition: Infinity.h:611
constexpr Infinity inf
Global Infinity instance.The blaze::inf instance can be used wherever a built-in data type is expecte...
Definition: Infinity.h:1080
Size type of the Blaze library.
Constraint on the data type.