Not entirely sure why it's defined here, but `min()` should return a unless `b > a`.  This matters for NaNs.  See:
http://en.cppreference.com/w/cpp/algorithm/min

In other words, these should both be in the form `b <op> a ? b : a`.

-[Unknown]