@@ -117,13 +117,13 @@ template<typename T> static inline T min
* @param a The first integer
* @param b The second integer
* @return The smaller value
*/
static inline int min(const int a, const int b)
{
return a <= b ? a : b;
return a < b ? a : b;
}
/**
* Returns the minimum of two unsigned integers.
*
* This function returns the smaller value of two given unsigned integers.
@@ -131,13 +131,13 @@ static inline int min(const int a, const
* @param a The first unsigned integer
* @param b The second unsigned integer
static inline uint minu(const uint a, const uint b)
* Clamp an integer between an interval.
* This function returns a value which is between the given interval of
Status change: