any complaints against make it a little compact `return (a<0)?b:((a<b)?b:a);` ?