fn setFloat(self: *Rational, comptime T: type, f: T) !void
Set a Rational from a floating-point value. The rational will have enough precision to completely represent the provided float.
self: *Rational,
T: type,
f: T,