Use `fmax` and `fmin` instead of these macros. They're not sufficiently well-defined for floating-point numbers.