On Mon, Feb 11, 2013 at 1:05 PM, bearophile <bearophileh...@lycos.com>wrote:

>
> A Rational should accept T as BigInt too.
>
> Bye,
> bearophile
>

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.

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.

Arlen

Reply via email to