mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-21 21:28:33 +00:00
bignum: operator >
This commit is contained in:
1
util.cpp
1
util.cpp
@@ -303,6 +303,7 @@ struct bignum {
|
|||||||
bignum(ld d);
|
bignum(ld d);
|
||||||
|
|
||||||
bool operator < (const bignum&) const;
|
bool operator < (const bignum&) const;
|
||||||
|
bool operator > (const bignum& b) const { return b < self; }
|
||||||
|
|
||||||
ld leading() const {
|
ld leading() const {
|
||||||
switch(isize(digits)) {
|
switch(isize(digits)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user