michael@0: /* michael@0: ****************************************************************************** michael@0: * michael@0: * Copyright (C) 1997-2006, International Business Machines michael@0: * Corporation and others. All Rights Reserved. michael@0: * michael@0: ****************************************************************************** michael@0: * This file contains platform independent math. michael@0: */ michael@0: michael@0: #include "putilimp.h" michael@0: michael@0: U_CAPI int32_t U_EXPORT2 michael@0: uprv_max(int32_t x, int32_t y) michael@0: { michael@0: return (x > y ? x : y); michael@0: } michael@0: michael@0: U_CAPI int32_t U_EXPORT2 michael@0: uprv_min(int32_t x, int32_t y) michael@0: { michael@0: return (x > y ? y : x); michael@0: } michael@0: