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