This file contains functionality for various constant values used in libsemigroups.
Typedefs | |
| using | LimitMax = detail::Constant<-2, detail::Max> |
| Type for the maximum value of something. | |
| using | NegativeInfinity = detail::Constant<0, detail::Min> |
| Type for negative infinity. | |
| using | PositiveInfinity = detail::Constant<-1, detail::Max> |
| Type for positive infinity. | |
| using | Undefined = detail::Constant<0, detail::Max> |
| Type for undefined values. | |
Variables | |
| constexpr std::chrono::nanoseconds | FOREVER = std::chrono::nanoseconds::max() |
| Value indicating forever (system dependent but possibly approx. 292 years). | |
| LimitMax const | LIMIT_MAX |
| Value for the maximum of something. | |
| NegativeInfinity const | NEGATIVE_INFINITY |
| Value for negative infinity. | |
| PositiveInfinity const | POSITIVE_INFINITY |
| Value for positive infinity. | |
| Undefined const | UNDEFINED |
| Value for something undefined. | |
| using LimitMax = detail::Constant<-2, detail::Max> |
Type for the maximum value of something.
| using NegativeInfinity = detail::Constant<0, detail::Min> |
Type for negative infinity.
| using PositiveInfinity = detail::Constant<-1, detail::Max> |
Type for positive infinity.
| using Undefined = detail::Constant<0, detail::Max> |
Type for undefined values.
|
constexpr |
Defined in runner.hpp.
A pseudonym for std::chrono::nanoseconds::max().
|
extern |
This variable represents the maximum value that certain function parameters can have. LIMIT_MAX is comparable via ==, !=, <, > with any integral value (signed or unsigned), and is comparable to any other constant via == and !=, but not by <, >, <= and >=.
|
extern |
This variable represents \(-\infty\). NEGATIVE_INFINITY is comparable via ==, !=, <, <=, >, >= with any signed integral value and with POSITIVE_INFINITY, and is comparable to any other constant via == and !=.
|
extern |
This variable represents \(\infty\). POSITIVE_INFINITY is comparable via ==, !=, <, <=, >, >= with any integral value (signed or unsigned) and with NEGATIVE_INFINITY, and is comparable to any other constant via == and !=, but not by <, <=, > and >=.