Use fmax/fmin instead of macros.