A long time ago, this was discussed on this forum. I wrote the current
candidate for std.rational, and there was talk of Don Clugston
integrating the GCD function into std.bigint to take advantage of
knowing BigInt's internals. According to Don, using a general algorithm
here results in terrible performance. As of now, that hasn't happened,
though.
On 6/7/2012 1:49 PM, Joseph Rushton Wakeling wrote:
Sorry for the double-post -- I already asked this in d-learn, but this
may be a better place to ask.
What's the current state of affairs and roadmap for inclusion of
rational number support in D? I've come across David Simcha's work:
http://cis.jhu.edu/~dsimcha/d/phobos/std_rational.html
.... and a feature request on the bugzilla:
http://d.puremagic.com/issues/show_bug.cgi?id=7885
.... but this isn't mentioned at all in the review queue:
http://prowiki.org/wiki4d/wiki.cgi?ReviewQueue
What's the status of work/planning for this feature and is there any
kind of ETA for when it might land in Phobos?
Thanks and best wishes,
-- Joe