>> Language that represent numbers as rationals
Also wouldn't it make comparisons quite expensive?
Instead od Pi I'd prefer to have Pi(3) equal exactly 3.14, or Pi(2) equal exactly 3.1 and so on.
Since numbers would be kept as smallest numerator, denominator pair comparison would be just compaing those.
Instead od Pi I'd prefer to have Pi(3) equal exactly 3.14, or Pi(2) equal exactly 3.1 and so on.
Since numbers would be kept as smallest numerator, denominator pair comparison would be just compaing those.