Don't use std::fmax

NaN comes with a cost.