#include <BALL/COMMON/limits.h>
Static Public Member Functions | |
static T | min () |
static T | max () |
Numeric limits class. This template class describes the minimum and maximum values for the differnet data types. It a substitute for the numeric_limits
class described in the ISO/ANSI standard (chapter 18.2.1.1), as most compiler still do not support this feature (or more precisely: the header file <limits> is not implemented). If <limits> exists, Limits is just a wrapper around the numeric_limits
class, otherwise it returns the value from the standard C header <limits.h>.
static T BALL::Limits< T >::max | ( | ) | [inline, static] |
static T BALL::Limits< T >::min | ( | ) | [inline, static] |
Return the minimum value.
T the minimum value for this datatype Return the maximum value.
T the maximum value for this datatype