From eca20c2356805068533b45d532f88863b4977b4f Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sat, 31 Aug 2019 17:56:26 +1000 Subject: [PATCH] added rational min/max defines --- app/common/rational.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/common/rational.h b/app/common/rational.h index 951cc7305..4f3fcf27d 100644 --- a/app/common/rational.h +++ b/app/common/rational.h @@ -129,4 +129,7 @@ private: intType gcd(intType &x, intType &y); }; +#define RATIONAL_MIN rational(LONG_MIN, 1) +#define RATIONAL_MAX rational(LONG_MAX, 1) + #endif // RATIONAL_H