I'm looking for standard mathematical notation that deals with fractions in lowest terms.
Specifically, I'm looking for a way to express the minimum of the fraction's numerator or denominator. For example, $8/9$ and $9/8$ should both return $8$. How should one write this as part of an equation?