1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
//------------------------------------------------------------------------------
// GB_imin.h: definitions of min/max macros
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2022, All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
//------------------------------------------------------------------------------
#ifndef GB_IMIN_H
#define GB_IMIN_H
#define GB_IMAX(x,y) (((x) > (y)) ? (x) : (y))
#define GB_IMIN(x,y) (((x) < (y)) ? (x) : (y))
#endif
|