]>
git.saurik.com Git - apple/icu.git/blob - icuSources/common/umath.c
2 ******************************************************************************
4 * Copyright (C) 1997-2006, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 ******************************************************************************
8 * This file contains platform independent math.
13 U_CAPI
int32_t U_EXPORT2
14 uprv_max(int32_t x
, int32_t y
)
16 return (x
> y
? x
: y
);
19 U_CAPI
int32_t U_EXPORT2
20 uprv_min(int32_t x
, int32_t y
)
22 return (x
> y
? y
: x
);