On Thu, Sep 26, 2013 at 04:50:47PM -0700, Andrei Alexandrescu wrote: > On 9/26/13 7:00 AM, Joseph Rushton Wakeling wrote: > >On 25/09/13 19:21, ponce wrote: > >>On Wednesday, 25 September 2013 at 17:15:25 UTC, ponce wrote: > >>>On Wednesday, 25 September 2013 at 16:59:15 UTC, H. S. Teoh wrote: > >>>>Does anybody happen to have a working rational number library in > >>>>D? > >> > >>Also David Simcha wrote a better one: > >>https://github.com/dsimcha/Rational/blob/master/rational.d > > > >Why was this never incorporated into Phobos? > > Probably because it wasn't proposed for review. I'm favorable to > integrating it. [...]
Me too. T -- 2+2=4. 2*2=4. 2^2=4. Therefore, +, *, and ^ are the same operation.
