News for hackers. Stuff that matters.
Re:The joy of max() by smitherfield on Friday March 30, 2018 @08:22PM (#16720905)
That one-liner I posted works with both constant and non-constant expressions (and in fact is more likely to be evaluated at compile-time than the macro), is type-safe, and has no side effects assuming both arguments are arithmetic types or pointers (like all uses of `max` in the Linux kernel / C-language programs).

There are no comments on this comment yet.