Kevin Bealer wrote:
You could switch to this:struct { BigInt numerator; BigInt denominator; }; Bingo -- no compromise.
It cannot represent irrational numbers accurately.
Kevin Bealer wrote:
You could switch to this:struct { BigInt numerator; BigInt denominator; }; Bingo -- no compromise.
It cannot represent irrational numbers accurately.