Itasca C++ Interface
|
debug checked shorthand for std::numeric_limits<T>:: More...
#include <limit.h>
Static Public Member Functions | |
static T | real_min () |
debug checked shorthand for std::numeric_limits<T>::
This simply allows the use of limits<T> as a convenient shorthand to the verbose std::numeric_limits<T>.
It also performs overflow checking in debug mode only.
|
inlinestatic |
Returns the "real" minimum value of the type.
Intended to evade the weird behavior for std::numeric_limits that min() works (as one would expect) for integral types, but not for floating point types.