INFINITY
From cppreference.com
| Defined in header <cmath>
|
||
| #define INFINITY /*implementation defined*/ |
(since C++11) | |
The macro INFINITY expands to constant expression of type float which evaluates to positive or unsigned infinity, if supported by implementation, or to a positive value that is guaranteed to overflow a float at compile time.
[edit] See also
| [static] |
returns the positive infinity value of the given floating-point type (public static member function of std::numeric_limits)
|
| (C++11) |
checks if the given number is infinite (function) |