620
Find yourself
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
GNU C. Also works with Clang. Avoids evaluating the arguments multiple times. The optimizer will convert the branch into a conditional move, if it doesn't I'd replace the ternary with the "bit hacker 2" version.
__auto_type
is a compiler builtin, not a library function. It's not a function at all, the parentheses are for precedence & grouping.