diff -r 24b89cd40bfd -r 31b7784db761 src/core/math_func.hpp --- a/src/core/math_func.hpp Fri Dec 21 08:34:53 2007 +0000 +++ b/src/core/math_func.hpp Fri Dec 21 19:21:21 2007 +0000 @@ -18,6 +18,12 @@ #endif /** + * The largest value that can be entered in a variable + * @param type the type of the variable + */ +#define MAX_UVALUE(type) ((type)~(type)0) + +/** * Returns the maximum of two values. * * This function returns the greater value of two given values.