X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Frational.h;fp=src%2Frational.h;h=595f5f25288c4ac87e9ccbce733a7f248cc2531e;hp=6bc5aec2edd6ec7edeffef62e64915c8e38b2306;hb=9e1a33043e1242c4605f2a3a48bd948fc760d948;hpb=e0cd98bdff7f026b92f2c0e5b08639e08b98874e diff --git a/src/rational.h b/src/rational.h index 6bc5aec..595f5f2 100644 --- a/src/rational.h +++ b/src/rational.h @@ -196,13 +196,6 @@ struct Rational T Q; }; -inline Rational pow(const Rational & a, const Rational & b) -{ - //TODO:Implement properly - int64_t P = std::pow((double)a.P, b.ToDouble()); - int64_t Q = std::pow((double)a.Q, b.ToDouble()); - return Rational(P, Q); -}