mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-08 01:14:07 +00:00
bignum: operator >
This commit is contained in:
parent
6c3348c9f3
commit
e5e4db5ef1
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)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user