TeX source:
\Large s = \frac{b - a}{\max(a, b)}