std.rational?
bearophile
bearophileHUGS at lycos.com
Thu Sep 26 07:09:28 PDT 2013
Joseph Rushton Wakeling:
> Why was this never incorporated into Phobos?
First it needs the normal review process for Phobos modules :) It
should go in the review queue, if it's good enough for Phobos.
> Rational!(BigInt) getTerm(int termNumber) {
I suggest to add inside that "rational.d" module an alias with
Bigint, as:
alias Fraction = Rational!BigInt;
Because I don't think I want to use a rational type made with
built-in integrals.
Bye,
bearophile
More information about the Digitalmars-d
mailing list