fn invert(r: *Rational) void

Invert the numerator and denominator fields of a Rational. p/q => q/p.

Parameters