<br><br><div class="gmail_quote">On Mon, Feb 11, 2013 at 1:05 PM, bearophile <span dir="ltr"><<a href="mailto:bearophileHUGS@lycos.com" target="_blank">bearophileHUGS@lycos.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
A Rational should accept T as BigInt too.<br>
<br>
Bye,<br>
bearophile<br>
</blockquote></div><br>Rational doesn't support BigInt because the necessary math functions do not support BigInt.  And if you are going to have Rational support BigInt, you are most 
likely going to need BigFloat, which is something we don't have.<br><br>I personally do not like BigInt because it is incomplete, and because it is reinventing the wheel.  I much rather see Phobos provide an interface to GMP, MPFR, or some other arbitrary precision arithmetic library, similar to what you see with Haskell and Python.<br>
<br>Arlen<br>