added rational min/max defines

This commit is contained in:
itsmattkc
2019-08-31 17:56:26 +10:00
parent ae48cb072d
commit eca20c2356
+3
View File
@@ -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