diff -r 45d77f05d3a3 -r 8c0c3e9dd6a0 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.