fn copyRatio(self: *Rational, a: Int, b: Int) !void

Set a Rational directly from a ratio of two Int’s.

Parameters

self: *Rational,
a: Int,
b: Int,