![]() |
Numerical infinity for built-in data types. More...
#include <blaze/system/Platform.h>
#include <blaze/util/constraints/Builtin.h>
#include <blaze/util/Limits.h>
#include <blaze/util/Types.h>
Go to the source code of this file.
Classes | |
class | blaze::NegativeInfinity< I > |
Negative infinity for built-in data types.The NegativeInfinity class is a wrapper class around the functionality of the blaze::Limits class to provide the possibility to assign negative infinity values to built-in data types. As negative infinity value, the largest possible negative value of the corresponding data type is used. In order to assign the negative infinity value, the NegativeInfinity class can be implicitly converted to all signed integral and floating point data types: More... | |
class | blaze::Infinity |
Positive infinity for built-in data types.The Infinity class is a wrapper class around the functionality of the blaze::Limits class to provide the possiblity to assign a positive infinity value to built-in data types. As positive infinity value, the largest possible positive value of the corresponding data type is used. In order to assign the positive infinity value, the Infinity class can be implicitly converted to the following 13 built-in integral and floating point data types: More... | |
Namespaces | |
blaze | |
Namespace of the Blaze C++ math library. | |
Functions | |
NegativeInfinity operators | |
template<typename I1 , typename I2 > | |
constexpr bool | blaze::operator== (const NegativeInfinity< I1 > &, const NegativeInfinity< I2 > &) |
Equality comparison between two NegativeInfinity objects. More... | |
template<typename I , typename T > | |
constexpr bool | blaze::operator== (const NegativeInfinity< I > &lhs, const T &rhs) |
Equality comparison between an NegativeInfinity object and a built-in data type. More... | |
template<typename I , typename T > | |
constexpr bool | blaze::operator== (const T &lhs, const NegativeInfinity< I > &rhs) |
Equality comparison between a built-in data type and an NegativeInfinity object. More... | |
template<typename I1 , typename I2 > | |
constexpr bool | blaze::operator!= (const NegativeInfinity< I1 > &, const NegativeInfinity< I2 > &) |
Inequality comparison between two NegativeInfinity objects. More... | |
template<typename I , typename T > | |
constexpr bool | blaze::operator!= (const NegativeInfinity< I > &lhs, const T &rhs) |
Inequality comparison between an NegativeInfinity object and a built-in data type. More... | |
template<typename I , typename T > | |
constexpr bool | blaze::operator!= (const T &lhs, const NegativeInfinity< I > &rhs) |
Inequality comparison between a built-in data type and an NegativeInfinity object. More... | |
Infinity operators | |
constexpr bool | blaze::operator== (const Infinity &, const Infinity &) |
Equality comparison between two Infinity objects. More... | |
template<typename I > | |
constexpr bool | blaze::operator== (const Infinity &, const NegativeInfinity< I > &) |
Equality comparison between an Infinity object and a NegativeInfinity object. More... | |
template<typename I > | |
constexpr bool | blaze::operator== (const NegativeInfinity< I > &, const Infinity &) |
Equality comparison between a NegativeInfinity object and an Infinity object. More... | |
template<typename T > | |
constexpr bool | blaze::operator== (const Infinity &lhs, const T &rhs) |
Equality comparison between an Infinity object and a built-in data type. More... | |
template<typename T > | |
constexpr bool | blaze::operator== (const T &lhs, const Infinity &rhs) |
Equality comparison between a built-in data type and an Infinity object. More... | |
constexpr bool | blaze::operator!= (const Infinity &, const Infinity &) |
Inequality comparison between two Infinity objects. More... | |
template<typename I > | |
constexpr bool | blaze::operator!= (const Infinity &, const NegativeInfinity< I > &) |
Inequality comparison between an Infinity object and a NegativeInfinity object. More... | |
template<typename I > | |
constexpr bool | blaze::operator!= (const NegativeInfinity< I > &, const Infinity &) |
Inequality comparison between a NegativeInfinity object and an Infinity object. More... | |
template<typename T > | |
constexpr bool | blaze::operator!= (const Infinity &lhs, const T &rhs) |
Inequality comparison between an Infinity object and a built-in data type. More... | |
template<typename T > | |
constexpr bool | blaze::operator!= (const T &lhs, const Infinity &rhs) |
Inequality comparison between a built-in data type and an Infinity object. More... | |
Variables | |
constexpr Infinity | blaze::inf |
Global Infinity instance.The blaze::inf instance can be used wherever a built-in data type is expected. It is implicitly converted to the corresponding built-in data type and represents its largest possible data value. | |
Numerical infinity for built-in data types.
Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
This file is part of the Blaze library. You can redistribute it and/or modify it under the terms of the New (Revised) BSD License. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.