From: "Peter T. Breuer" <ptb@it.uc3m.es> To: Daniel Phillips <phillips@bonn-fries.net> Subject: Re: [IDEA+RFC] Possible solution for min()/max() war Date: Thu, 30 Aug 2001 19:03:39 +0200 (CEST) Cc: linux kernel <linux-kernel@vger.kernel.org> "Daniel Phillips wrote:" > More than anything, it shows that education is needed, not macro patch-ups. > We have exactly the same issues with < and >, should we introduce > three-argument macros to replace them? # define le(t,a,b) ({ t _a = a; t _b = b; min(t,_a,_b) == _a ; }) # define ge(t,a,b) ({ t _a = a; t _b = b; min(t,_a,_b) == _b ; }) ;-) Peter - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/