mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
COMMON: Add numerator/denominator getters for Rational
This commit is contained in:
parent
331da0377b
commit
e90287f7f1
@ -80,6 +80,9 @@ public:
|
||||
double toDouble() const;
|
||||
frac_t toFrac() const;
|
||||
|
||||
int getNumerator() const { return _num; }
|
||||
int getDenominator() const { return _denom; }
|
||||
|
||||
void debugPrint(int debuglevel = 0, const char *caption = "Rational:") const;
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user