> I am sorry, I do not see what gets simplified. max(max(a,b),max(c,d)) > looks simpler than max3(a,b,max(c,d)). You would eventually like to express that a maximum should be determined from three (or even four?) values. https://elixir.bootlin.com/linux/v6.14-rc4/source/include/linux/minmax.h#L147 > Does it bring something in terms > of optimization? Corresponding effects depend on various factors, don't they? Regards, Markus