Coverage Report

Created: 2026-06-23 06:26

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/icu/icu4c/source/common/umath.cpp
Line
Count
Source
1
// © 2016 and later: Unicode, Inc. and others.
2
// License & terms of use: http://www.unicode.org/copyright.html
3
/*
4
******************************************************************************
5
*
6
*   Copyright (C) 1997-2006, International Business Machines
7
*   Corporation and others.  All Rights Reserved.
8
*
9
******************************************************************************
10
* This file contains platform independent math.
11
*/
12
13
#include "putilimp.h"
14
15
U_CAPI int32_t U_EXPORT2
16
uprv_max(int32_t x, int32_t y)
17
5.83M
{
18
5.83M
    return (x > y ? x : y);
19
5.83M
}
20
21
U_CAPI int32_t U_EXPORT2
22
uprv_min(int32_t x, int32_t y)
23
9.14M
{
24
9.14M
    return (x > y ? y : x);
25
9.14M
}
26