diff options
Diffstat (limited to 'common/rational.h')
-rw-r--r-- | common/rational.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/rational.h b/common/rational.h index 5ceac36209..bee09d8ddb 100644 --- a/common/rational.h +++ b/common/rational.h @@ -76,9 +76,6 @@ public: bool operator>=(int right) const; bool operator<=(int right) const; - operator int() const; - operator double() const; - void invert(); Rational getInverse() const; @@ -86,6 +83,8 @@ public: double toDouble() const; frac_t toFrac() const; + void debugPrint(int debuglevel = 0, const char *caption = "Rational:") const; + private: int _num; int _denom; |